monasca-api/monasca_api/common/repositories/sqla
Johannes Grassler 39d5bbbb0a Alembic migrations for all SQL script revisions
This commit adds

* An alembic environment for running database migrations
* Alembic database migrations for all revisions
  of the legacy SQL script currently being used to set up the
  Monasca database.
* The get_all_metadata() function for exposing full data model
  metadata. This function is needed generating migrations from
  the current state of the model and should be kept up to date
  as the model is being extended.

Change-Id: I41b4577d8334791f712177348cadfe9b07b62ef1
Story: 2001654
Task: 14339
2018-06-22 08:16:35 +00:00
..
__init__.py ORM (sqlalchemy) implementation for python 2016-02-27 13:15:53 +01:00
alarm_definitions_repository.py Update pep8 checks 2018-04-11 12:40:27 +02:00
alarms_repository.py Update pep8 checks 2018-04-11 12:40:27 +02:00
models.py Alembic migrations for all SQL script revisions 2018-06-22 08:16:35 +00:00
notification_method_type_repository.py TrivialFix: Remove logging import unused 2016-09-07 17:05:22 +07:00
notifications_repository.py Update pep8 checks 2018-04-11 12:40:27 +02:00
sql_repository.py fixed idle sql sessions at startup 2017-11-02 15:00:04 +01:00