mirror of
https://github.com/ansible/awx.git
synced 2026-02-16 18:50:04 -03:30
Move partition start date to 2000
This commit is contained in:
@@ -66,7 +66,7 @@ def migrate_event_data(apps, schema_editor):
|
|||||||
current_time = now()
|
current_time = now()
|
||||||
|
|
||||||
# .. as well as initial partition containing all existing events
|
# .. as well as initial partition containing all existing events
|
||||||
epoch = datetime(1980, 1, 1, 0, 0)
|
epoch = datetime(2000, 1, 1, 0, 0)
|
||||||
create_partition(epoch, current_time, 'old_events')
|
create_partition(epoch, current_time, 'old_events')
|
||||||
|
|
||||||
# .. and first partition
|
# .. and first partition
|
||||||
|
|||||||
Reference in New Issue
Block a user