From b18986c72bcec60f8e032222ee6c32ae9326510a Mon Sep 17 00:00:00 2001 From: Jimmy Zelinskie Date: Tue, 6 Jan 2015 15:11:37 -0500 Subject: [PATCH] Continuation of baa4918d89. --- .../versions/228d1af6af1c_mysql_max_index_lengths.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/data/migrations/versions/228d1af6af1c_mysql_max_index_lengths.py b/data/migrations/versions/228d1af6af1c_mysql_max_index_lengths.py index 0b70acbb3..2f6ff722b 100644 --- a/data/migrations/versions/228d1af6af1c_mysql_max_index_lengths.py +++ b/data/migrations/versions/228d1af6af1c_mysql_max_index_lengths.py @@ -18,5 +18,8 @@ def upgrade(tables): op.drop_index('queueitem_queue_name', table_name='queueitem') op.create_index('queueitem_queue_name', 'queueitem', ['queue_name'], unique=False, mysql_length=767) + op.drop_index('image_ancestors', table_name='image') + op.create_index('image_ancestors', 'image', ['ancestors'], unique=False, mysql_length=767) + def downgrade(tables): pass