murano/murano/db/migration
Stan Lagun 89a4c4cb5a Increase status report messages time resolution
We use DATETIME SQL type for created/updated columns
everywhere through the database. In SQL standard
DATETIME defaults to DATETIME(6) which is 6 digit
fraction second part. However MySQL defaults it
to DATETIME(0) for backward compatibility. In result
status messages timestamps get rounded to the
second boundary and if there are several status
messages were generated within a second
after table sort they might be shown in a different
order.

This commit adds MySQL migration that increases
resolution for the status table and adds subseconds
to the generated status repor timestamps.

Change-Id: Ice8c2d82c6a320c7f73c27f4c60c87bef55b8d95
Related-Bug: #1462270
2016-05-18 18:30:49 -07:00
..
alembic_migrations Increase status report messages time resolution 2016-05-18 18:30:49 -07:00
__init__.py Added DB migrations on Alembic 2014-06-20 18:01:34 +04:00
alembic.ini Added DB migrations on Alembic 2014-06-20 18:01:34 +04:00
helpers.py Fix import order of modules 2016-01-24 23:34:03 -08:00
migration.py Fixed race in DB migration testing 2014-08-01 12:41:50 -07:00