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

"fromdb" task #250

Closed
stvowi opened this issue Mar 6, 2017 · 3 comments
Closed

"fromdb" task #250

stvowi opened this issue Mar 6, 2017 · 3 comments

Comments

@stvowi
Copy link

stvowi commented Mar 6, 2017

php oil refine fromdb:scaffold --all don't work with MYSQL - PDO Driver.
I get a lot of errors.

@WanWizard
Copy link
Member

Is not supported.

To be able to generate models from database tables, you need to be able to get all column details. There is no generic PDO interface for that.

If you want to use this, you need to switch to the MySQLi driver.

@stvowi
Copy link
Author

stvowi commented Mar 7, 2017

Okay, please write it in the documentation.

@WanWizard
Copy link
Member

Good point.

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

2 participants