For some reason, kilo_initial.py is triggering this warning,
so fix it by using comments instead of a docstring.
Also updated the template to use comments as well, so any
migrations created in the future use them, even though
none seem to be causing a similar warning right now.
Closes-bug: #2036763
Change-Id: I63b7ac83fdd3ebc6251979f1376daf2105489fdc
Fix E402 (module level import not at top of file) pep8 errors
and no longer ignore new failures.
Trivialfix
Change-Id: If9a202f1f322b5b03966c692e33e94b7c872079b
If the intended branch is not present, bootstrap it:
- create directory;
- mark the new migration script with proper branch label;
- make the script down_revision == None to indicate it's a new branch;
One missing thing is making the script depends_on the previous release
branch. This is currently unsupported by alembic though.
Partially-Implements: blueprint online-schema-migrations
Change-Id: Ib3b9dfcbdb56db99b07a8e54629dda5933e1c1f5
Remove downgrade from the --autogenerate option of neutron-db-manage.
Add tests to check that downgrade options cannot be used.
Related cross-project spec: https://review.openstack.org/152337
Partial-Bug: 1434103
Change-Id: Id2f7f521644828ab7fbc027c6037f76f0337e121
This patch removes the logic for handling conditional migrations
and adjusts all the patches where it was used accordingly.
The alembic environment has been update to not send anymore
the active plugins list to migrations.
This patch also removes the vestigial 'options' parameter which
was sent to every migration but always set to None and never
used by any migration.
Implements blueprint bp/reorganize-migrations
Change-Id: I7285e0276b262a9ea5d22c456a5a8cf34c461a0c
Template for generating db migration scripts are now not run according
to used plugins. Target environment is set to use all available models
but also used plugins are kept for backward compatibility.
Part of this patch is script that will drop unused tables to avoid
generating the drop in future migration scripts.
Change-Id: I90a7d3416de24f2317ccdeb828bb8bd973ee5e61
Closes-bug: #1346638
This commit also empties __init__.py and removes vim
modelines in the db migration related codes.
Change-Id: I9f83109c5becb6cf7e2e6ad9ad8eb9af3d8e0972
Closes-Bug: #1286991
This change renames everything to Neutron while providing backwards
compatible adjustments for Grizzly configuration files.
implements blueprint: remove-use-of-quantum
Change-Id: Ie7d07ba7c89857e13d4ddc8f0e9b68de020a3d19