Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot use yii\db\Schema as Schema because the name is already in use #1

Open
patschwork opened this issue Sep 24, 2018 · 0 comments
Open

Comments

@patschwork
Copy link

patschwork commented Sep 24, 2018

What steps will reproduce the problem?

After creating a schema (http://frontend.dev/index.php?r=builder) the error occurs when trying to create an entity

Additional info

PHP Fatal error: Cannot use yii\db\Schema as Schema because the name is already in use in D:\DEV\yii2\vendor\tunecino\yii2-schema-builder\models\Attribute.php on line 6

This was a fresh "installation". I updated Yii2* and dependencies to most current stable versions without getting rid of this error.
When the "use Schema" is commented the next error occurs at the TYPES...

Q A
Yii vesion 2.0.15.1
PHP version PHP 5.6.3 (cli) (built: Nov 12 2014 17:18:08)
Operating system Windows 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant