fullstack: Use a pre-built database schema

Bug #1739078 reported by Jakub Libosvar
6
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: fullstack
tags: removed: rfe
Revision history for this message
Ian Wells (ijw-ubuntu) wrote :

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.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.