summaryrefslogtreecommitdiff
path: root/db/migrate/20160610211845_add_environment_to_builds.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20160610211845_add_environment_to_builds.rb')
-rw-r--r--db/migrate/20160610211845_add_environment_to_builds.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/db/migrate/20160610211845_add_environment_to_builds.rb b/db/migrate/20160610211845_add_environment_to_builds.rb
new file mode 100644
index 00000000000..990e445ac55
--- /dev/null
+++ b/db/migrate/20160610211845_add_environment_to_builds.rb
@@ -0,0 +1,10 @@
+# See http://doc.gitlab.com/ce/development/migration_style_guide.html
+# for more information on how to write migrations for GitLab.
+
+class AddEnvironmentToBuilds < ActiveRecord::Migration
+ include Gitlab::Database::MigrationHelpers
+
+ def change
+ add_column :ci_builds, :environment, :string
+ end
+end