debian-mirror-gitlab/db/migrate/20210610153556_delete_legacy_operations_feature_flags.rb
2021-09-30 23:02:18 +05:30

13 lines
286 B
Ruby

# frozen_string_literal: true
class DeleteLegacyOperationsFeatureFlags < ActiveRecord::Migration[6.1]
LEGACY_FEATURE_FLAG_VERSION = 1
def up
execute("DELETE FROM operations_feature_flags WHERE version = #{LEGACY_FEATURE_FLAG_VERSION}")
end
def down
# no-op
end
end