neutron/neutron/db/migration
Manjeet Singh Bhatia 2b66c6a2ed Relocate L3 DB Models
As we have started oslo versioned objects implementations. There
would be issue of cyclic import while implementation for objects
which have db models definitions and mixins in same file. This patch
will move routers models as discussed in [1].

For example DNS models and some queries are in same file [2]. for object
implementation I have separate models definitions and mixins where
queries were being done [3].

[1]. https://www.mail-archive.com/openstack-dev@lists.openstack.org/msg88910.html
[2]. https://review.openstack.org/#/c/334695/15/neutron/db/dns_db.py
[3]. https://review.openstack.org/#/c/334695/15/neutron/db/models/dns_models.py

Change-Id: I9b9a44da5d28252be58cea1a920a64e18d8bbf32
Partial-Bug: #1597913
2016-09-27 16:58:55 +00:00
..
alembic_migrations Tag the alembic migration revisions for Newton 2016-09-13 22:16:40 -04:00
models Relocate L3 DB Models 2016-09-27 16:58:55 +00:00
README Support for independent alembic branches in sub-projects 2015-08-12 23:50:58 -04:00
__init__.py Make neutron-db-manage ready for ocata development 2016-09-16 19:42:47 +00:00
alembic.ini Ease debugging alembic by passing proper scripts path in alembic.ini 2015-06-22 15:44:55 +02:00
autogen.py Revert "Support unique labels for alembic branches" 2016-07-06 16:51:04 +00:00
cli.py Make neutron-db-manage ready for ocata development 2016-09-16 19:42:47 +00:00
connection.py neutron-db-manage: add has_offline_migrations command 2016-01-22 13:55:40 +00:00

README

See doc/source/devref/alembic_migrations.rst

Rendered at
http://docs.openstack.org/developer/neutron/devref/alembic_migrations.html