2019-02-15 15:39:39 +05:30
|
|
|
class ChangeLockVersionNotNull < ActiveRecord::Migration[4.2]
|
2016-09-29 09:46:39 +05:30
|
|
|
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
|