summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-10-06 13:10:50 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2016-10-06 13:16:34 +0200
commit3f85c3ef1629870e22f6a676585e8de80e5120c3 (patch)
tree141a1ef7d8fb0eaa79e203331d36671a60993070 /db
parent2c01b19f8f55c7105506cdbe964d24d0a3c6dfc4 (diff)
downloadgitlab-ce-3f85c3ef1629870e22f6a676585e8de80e5120c3.tar.gz
Initial support for closing environments
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20161006104309_add_state_to_environment.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20161006104309_add_state_to_environment.rb b/db/migrate/20161006104309_add_state_to_environment.rb
new file mode 100644
index 00000000000..2a6fd1a6a93
--- /dev/null
+++ b/db/migrate/20161006104309_add_state_to_environment.rb
@@ -0,0 +1,9 @@
+class AddStateToEnvironment < ActiveRecord::Migration
+ include Gitlab::Database::MigrationHelpers
+
+ DOWNTIME = false
+
+ def change
+ add_column :environments, :state, :string
+ end
+end