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

[Enh] migration generation #5

Open
Faryshta opened this issue Apr 20, 2016 · 4 comments
Open

[Enh] migration generation #5

Faryshta opened this issue Apr 20, 2016 · 4 comments

Comments

@Faryshta
Copy link
Contributor

An interface to use the migrate/create console command would be great, specially to generate the fields.

@cebe
Copy link
Member

cebe commented Apr 20, 2016

there is already a tool like this: http://yiifeed.com/news?id=116

@XzAeRo
Copy link

XzAeRo commented Apr 20, 2016

Yeah, there are a few tools around for this purpose. But I believe it would be great to ship this feature bundled in Gii.
An option to generate migrations with seeded data would be awesome.

@Faryshta
Copy link
Contributor Author

Faryshta commented May 8, 2016

@cebe i checked it, sandstorm requires node and NPM, doesn't use the syntax defined in 2.0.7 and doesn't have foreign keys support.

I honestly prefer to use the command line so I would rather have a generator in gii what can emulate the command line behavior

@mklemarczyk
Copy link

Do you mean code first approach? To generate migration from changed model?

@samdark samdark transferred this issue from yiisoft/yii2-gii Dec 4, 2018
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

4 participants