keystone/keystone/common/sql/migrations
Stephen Finucane 44886a0f62 sql: Add initial alembic scaffolding
This is effectively the output of 'alembic init' with a few tweaks to
keep pep8 happy and make things more grokable. There will be a great
deal more changes down the line.

Change-Id: Id22aa60e2243b5ce1f3055429ba1ba71a0816f39
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2022-01-21 13:39:30 +00:00
..
versions sql: Add initial alembic scaffolding 2022-01-21 13:39:30 +00:00
README.rst sql: Add initial alembic scaffolding 2022-01-21 13:39:30 +00:00
env.py sql: Add initial alembic scaffolding 2022-01-21 13:39:30 +00:00
script.py.mako sql: Add initial alembic scaffolding 2022-01-21 13:39:30 +00:00

README.rst

Migrations for the database

This directory contains migrations for the database. These are implemented using alembic, a lightweight database migration tool designed for usage with SQLAlchemy.

The best place to start understanding Alembic is with its own tutorial. You can also play around with the alembic command:

$ alembic --help