20170508153950_add_not_null_contraints_to_ci_variables.rb 270 Bytes
Newer Older
1
class AddNotNullContraintsToCiVariables < ActiveRecord::Migration[4.2]
2 3 4 5 6 7 8 9 10 11 12
  DOWNTIME = false

  def up
    change_column(:ci_variables, :key, :string, null: false)
    change_column(:ci_variables, :project_id, :integer, null: false)
  end

  def down
    # no op
  end
end