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

Allow option to autodetect new properties in existing models and add those columns in the database. #299

Closed
jedld opened this issue Apr 8, 2015 · 2 comments

Comments

@jedld
Copy link

jedld commented Apr 8, 2015

Allow option to autodetect new properties in existing models and add those columns in the database.

There are times when you need to add a new property to a model and the corresponding column in the database. It would be nice if sugar would detect new columns during a version upgrade.

Though it is achievable now by manually adding the new columns in a migration sql file, there is problem when it is a new installation.... the new columns get created by the schema generator, unfortunately the migration files are also run which causes a duplicate column error.

@whoshuu whoshuu added the feature label Apr 9, 2015
@whoshuu
Copy link
Collaborator

whoshuu commented Apr 9, 2015

References #151.

@sibelius
Copy link
Contributor

fixed with #328

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants