mirror of
https://github.com/ansible/awx.git
synced 2026-01-12 18:40:01 -03:30
Move partition start date to 2000
This commit is contained in:
parent
82df3ebddb
commit
f259b0a71b
@ -66,7 +66,7 @@ def migrate_event_data(apps, schema_editor):
|
||||
current_time = now()
|
||||
|
||||
# .. 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')
|
||||
|
||||
# .. and first partition
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user