oslo.db/oslo_db/sqlalchemy
dineshbhor a6172924d5 Raise only DbMigrationError from migrate 'upgrade' method
All the exceptions which are raised from sqlalchemy-migrate upgrade
method are not more user friendly to the operator.

This patch proposes to convert all the exceptions which will be
raised by 'upgrade' method to an oslo_db specific 'DbMigrationError'
exception.

Related-Bug: #1546441
Change-Id: I28533bedba358281ce302b9b021744387a76c04a
2017-05-25 18:37:34 +05:30
..
compat Adjust SAVEPOINT cause test for SQLA 1.1 2016-11-16 12:41:40 -05:00
migration_cli Remove log translations 2017-03-30 08:42:42 +08:00
__init__.py Move files out of the namespace package 2014-12-24 13:28:48 +02:00
enginefacade.py Attach context being used to session/connection info 2017-05-18 11:32:11 -07:00
engines.py Remove log translations 2017-03-30 08:42:42 +08:00
exc_filters.py Remove log translations 2017-03-30 08:42:42 +08:00
migration.py Raise only DbMigrationError from migrate 'upgrade' method 2017-05-25 18:37:34 +05:30
models.py SoftDeleteMixin: coerce deleted param to be an integer 2016-11-28 13:20:50 +02:00
orm.py Implement new oslo.db.sqlalchemy.enginefacade module 2015-06-04 11:43:39 -04:00
provision.py Remove log translations 2017-03-30 08:42:42 +08:00
session.py Drop use of 'oslo' namespace package 2015-06-18 22:18:36 +00:00
test_base.py Support facade arguments, unstarted facade for patch_engine() 2017-02-16 13:11:24 +02:00
test_fixtures.py Remove unused logging import 2017-02-17 13:37:28 +07:00
test_migrations.py Remove log translations 2017-03-30 08:42:42 +08:00
types.py SoftDeleteMixin: allow for None values 2016-11-28 18:19:18 +02:00
update_match.py Fix typos in comments and docstring 2016-06-13 14:16:39 +08:00
utils.py Remove log translations 2017-03-30 08:42:42 +08:00