aodh/ceilometer/storage/sqlalchemy/migrate_repo/versions
Mehdi Abaakouk 7194e92568 Convert event timestamp to PrecisionTimestamp
Before the timestamps for event and trait are stored in a Float
In mysql, the default precision won't work well, this one are rounded.

This patch, change the Float by the PrecisionTimestamp Column Type, like
the sample timestamp that demand the same precision.

And ensure that get_events always return datetime object.

Change-Id: I1f986784b07afa50bdbb7faa9499e7b614da8ec1
2013-12-17 13:48:49 -07:00
..
__init__.py implement sqlalchemy dbengine backend 2012-09-26 21:36:44 +00:00
001_add_meter_table.py Don't use sqlachemy Metadata as global var 2013-10-25 18:06:17 +02:00
002_remove_duration.py Don't use sqlachemy Metadata as global var 2013-10-25 18:06:17 +02:00
003_set_utf8_charset.py Remove extraneous vim configuration comments 2013-09-27 16:30:34 +00:00
004_add_counter_unit.py Don't use sqlachemy Metadata as global var 2013-10-25 18:06:17 +02:00
005_remove_resource_timestamp.py Don't use sqlachemy Metadata as global var 2013-10-25 18:06:17 +02:00
006_counter_volume_is_float.py Don't use sqlachemy Metadata as global var 2013-10-25 18:06:17 +02:00
007_add_alarm_table.py Don't use sqlachemy Metadata as global var 2013-10-25 18:06:17 +02:00
008_add_events.py Don't use sqlachemy Metadata as global var 2013-10-25 18:06:17 +02:00
009_event_strings.py Don't use sqlachemy Metadata as global var 2013-10-25 18:06:17 +02:00
010_add_index_to_meter.py full pep8 compliance (part 2) 2013-11-21 12:35:01 -05:00
011_indexes_cleanup.py Add cleanup migration for indexes. 2013-07-22 09:46:21 +04:00
012_add_missing_foreign_keys.py Fix migration with fkeys 2013-09-03 16:33:59 +04:00
013_rename_counter_to_meter_alarm.py Fix failed downgrade in migrations 2013-09-19 09:53:52 +04:00
014_add_event_message_id.py Corrected import order 2013-11-13 14:41:33 +08:00
015_add_alarm_history_table.py Fix wrong using of Metadata in 15,16 migrations 2013-10-18 14:30:48 +04:00
016_simpler_alarm.py Fix wrong using of Metadata in 15,16 migrations 2013-10-18 14:30:48 +04:00
017_convert_timestamp_as_datetime_to_decimal.py full pep8 compliance (part 2) 2013-11-21 12:35:01 -05:00
018_resource_resource_metadata_is_text.py Corrected import order 2013-11-13 14:41:33 +08:00
019_alarm_history_detail_is_text.py Corrected import order 2013-11-13 14:41:33 +08:00
020_add_metadata_tables.py sql migration error in 020_add_metadata_tables 2013-12-04 10:16:22 -05:00
021_add_event_types.py connection is not close in migration script 2013-11-27 08:36:50 -05:00
021_sqlite_downgrade.sql Add a specialized Event Type model and db table 2013-11-23 08:57:14 -07:00
021_sqlite_upgrade.sql Add a specialized Event Type model and db table 2013-11-23 08:57:14 -07:00
022_metadata_int_is_bigint.py Change metadata_int's value field to type bigint 2013-11-27 13:30:30 +08:00
023_add_trait_types.py Add a Trait Type model and db table 2013-12-02 15:16:42 -07:00
023_sqlite_downgrade.sql Add a Trait Type model and db table 2013-12-02 15:16:42 -07:00
023_sqlite_upgrade.sql Add a Trait Type model and db table 2013-12-02 15:16:42 -07:00
024_event_use_floatingprecision.py Convert event timestamp to PrecisionTimestamp 2013-12-17 13:48:49 -07:00