debian-mirror-gitlab/db/post_migrate/20181008145341_steal_encrypt_columns.rb

16 lines
256 B
Ruby
Raw Normal View History

2018-12-23 12:14:25 +05:30
class StealEncryptColumns < ActiveRecord::Migration[4.2]
2018-12-13 13:39:08 +05:30
include Gitlab::Database::MigrationHelpers
DOWNTIME = false
disable_ddl_transaction!
def up
Gitlab::BackgroundMigration.steal('EncryptColumns')
end
def down
# no-op
end
end