blob: ccb546654f988220a834278e8c56784fa3dec924 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
class AddStateToEnvironment < ActiveRecord::Migration
include Gitlab::Database::MigrationHelpers
disable_ddl_transaction!
DOWNTIME = false
def up
add_column_with_default(:environments, :state, :string, default: :available)
end
def down
remove_column(:environments, :state)
end
end
|