-
Notifications
You must be signed in to change notification settings - Fork 273
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
refactor(backend): remove code for deleting db and tables #1864
Conversation
The code was used when working on migration with main goal is to have a fresh state of tables when we adjust the migration script.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@aybruhm Does it make sense to have a db engine only for tests. or extend it in tests to have the delete db? |
Why are we removing the codes for deleting the db and tables? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See comment.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Keep this function.
Got it! Let's not remove the remove_db function yet. I'll take this over to see how it can be done with alembic and update the alembic PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for PR, @aakrem.
The code was used when working on migration with main goal is to have a fresh state of tables when we adjust the migration script.