keystone/doc
Stephen Finucane 1bcf8cee0d sql: Add support for auto-generation
Add the ability to autogenerate migrations. Because we need to support
different types of migration (expand and contract), this ends up being
significantly more complicated than what was needed in nova and cinder
and more akin to what was done in neutron. The key feature is here is
the use of an alembic hook called 'process_revision_directives', which
is called whenever one calls 'alembic revision --autogenerate'. We
extend this to allow us to hook into the autogeneration process and
ensure we only spit out directives for the relevant phase.

While we're here, we open up the Bobcat DB branch. This is similar to
what Neutron do (e.g. change I13ba740d245a46c41a969ff198e08ddff896eb1a).
Documentation will follow.

Change-Id: I17c9ff9508c5e2bd9521c18973af093d7550ab5a
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-02-28 17:47:57 +00:00
..
ext Replace support matrix ext with common library 2019-04-16 18:09:14 -07:00
source sql: Add support for auto-generation 2023-02-28 17:47:57 +00:00
Makefile Align with project configs. 2012-03-01 11:42:42 -08:00
README.rst Fixes documentation building 2013-12-13 02:47:37 +00:00
requirements.txt Switch to newer openstackdocstheme and reno versions 2020-05-21 13:43:22 +00:00

README.rst

Building Docs

Developer documentation is generated using Sphinx. To build this documentation, run the following from the root of the repository:

$ tox -e docs

The documentation will be built at doc/build/.