Example #1
0
def downgrade():
    if context.is_offline_mode():
        raise Exception('This downgrade is only possible in online mode')
    acl_to_json(acl_settings)
Example #2
0
def downgrade():
    if context.is_offline_mode():
        raise Exception('This downgrade is only possible in online mode')
    acl_to_json(acl_settings)
    op.drop_table('settings_principals', schema='indico')
    op.drop_table('settings_principals', schema='events')
def downgrade():
    if context.is_offline_mode():
        raise Exception('This downgrade is only possible in online mode')
    acl_to_json(acl_settings)
    op.drop_table('settings_principals', schema='indico')
    op.drop_table('settings_principals', schema='events')