fullstack: Use a pre-built database schema
Bug #1739078 reported by
Jakub Libosvar
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
New
|
Wishlist
|
Unassigned |
Bug Description
This is a request for enhancement to avoid using alembic when creating fullstack environment. The database creation is one of the most expensive operations during env build up. Using a pre-defined sql script that creates database schema can save time of fullstack runs.
tags: | removed: rfe |
To post a comment you must log in.
If you were going to do this, I think you'd want a back to back comparison of where Alembic gets you and where your test script gets you, so that you know you have a precisely equivalent environment. Alternatively, you could run Alembic once and then snapshot the resulting schema to a script which you use for subsequent creates. Having a script that stands alone is asking for it to get out of date.