Add Alembic Modules to Enable Upgrades
Revision as of 2015-Aug-24:
The following are Neutron alembic files that could be good examples I think:
- This alembic file does a time-zero bootstrap of the database: https:/
(Not that the icehouse bootstrap is not available, I believe because we only support one year of releases)
- This alembic is the kilo milestone alembic file:
https:/
Barbican uses Alembic to enable controlled modification of the database schema. However, Barbican is missing some Alembic version modules as compared to other OpenStack projects that use Alembic, such as Neutron and Sahara. In particular, Barbican should have a time-zero base script that creates all tables within the system (eg. https:/
Blueprint information
- Status:
- Not started
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- John Wood
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- New
- Series goal:
- None
- Implementation:
- Unknown
- Milestone target:
- None
- Started by
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
So I attempted to generate a forklift sort of version file from a blank database with the Juno final code base, hoping all my tables and attributes would magically appear in a single version file. Alembic complained so I gave up. It could be however that you need to put an alembic version table with a record on there first.
Gerrit topic: https:/
Addressed by: https:/
Make alembic used in barbican similar to other openstack projects
Gerrit topic: https:/