Welcome to mirror list, hosted at ThFree Co, Russian Federation.

20160830232601_change_lock_version_not_null.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 01c58ed5bdca892342b4b8eaefb2c4133c7ae1c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
class ChangeLockVersionNotNull < ActiveRecord::Migration
  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