diff --git a/data/migrations/versions/3b4d3a4461dc_add_support_for_squashed_images.py b/data/migrations/versions/3b4d3a4461dc_add_support_for_squashed_images.py index dc01f8676..87d668fa3 100644 --- a/data/migrations/versions/3b4d3a4461dc_add_support_for_squashed_images.py +++ b/data/migrations/versions/3b4d3a4461dc_add_support_for_squashed_images.py @@ -21,6 +21,10 @@ def upgrade(tables): sa.PrimaryKeyConstraint('id', name=op.f('pk_imagestoragetransformation')) ) op.create_index('imagestoragetransformation_name', 'imagestoragetransformation', ['name'], unique=True) + op.bulk_insert(tables.imagestoragetransformation, + [ + {'id':1, 'name':'squash'}, + ]) op.create_table('derivedimagestorage', sa.Column('id', sa.Integer(), nullable=False), sa.Column('source_id', sa.Integer(), nullable=True),