debian-mirror-gitlab/db/migrate/20160830232601_change_lock_version_not_null.rb
2018-12-23 12:14:25 +05:30

13 lines
277 B
Ruby

class ChangeLockVersionNotNull < ActiveRecord::Migration[4.2]
include Gitlab::Database::MigrationHelpers
DOWNTIME = false
def up
change_column_null :issues, :lock_version, true
change_column_null :merge_requests, :lock_version, true
end
def down
end
end