diff options
author | Z.J. van de Weg <zegerjan@gitlab.com> | 2016-07-26 10:35:47 +0300 |
---|---|---|
committer | Z.J. van de Weg <zegerjan@gitlab.com> | 2016-07-29 14:54:45 +0300 |
commit | be9aa7f19474424991923f128053e2523fa166d8 (patch) | |
tree | dde83c7c92d7b932d3b9b79405fb1e5524034345 /db/migrate | |
parent | 242f8377264973d642b46e5d2800ef3d3bd4c0fa (diff) |
Add an URL field to Environments
This MR adds a string (thus max 255 chars) field to the enviroments
table to expose it later in other features.
Diffstat (limited to 'db/migrate')
-rw-r--r-- | db/migrate/20160725083350_add_external_url_to_enviroments.rb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/db/migrate/20160725083350_add_external_url_to_enviroments.rb b/db/migrate/20160725083350_add_external_url_to_enviroments.rb new file mode 100644 index 00000000000..e887341159b --- /dev/null +++ b/db/migrate/20160725083350_add_external_url_to_enviroments.rb @@ -0,0 +1,12 @@ +# See http://doc.gitlab.com/ce/development/migration_style_guide.html +# for more information on how to write migrations for GitLab. + +class AddExternalUrlToEnviroments < ActiveRecord::Migration + include Gitlab::Database::MigrationHelpers + + DOWNTIME = false + + def change + add_column(:environments, :external_url, :string) + end +end |