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

Docu on DB workflow when the schema has changed a bit #297

Closed
mpscholten opened this issue Aug 4, 2020 · 0 comments · Fixed by #348
Closed

Docu on DB workflow when the schema has changed a bit #297

mpscholten opened this issue Aug 4, 2020 · 0 comments · Fixed by #348

Comments

@mpscholten
Copy link
Member

what if I want to rename the table column? The current "update database" approach (save to fixture, delete db, recreate db, import fixture) seems not working.


....

then the best way is to manually update the fixtures.sql. The whole workflow: Make some changes to the Schema. Then use Save DB to Fixtures (when click the toggle button at the right of Update DB). Then open Application/Fixtures.sql in your editor and make changes as required to match everything with the schema again. After that use Push to DB to load the new schema with the updated fixtures :)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant