diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2017-06-01 18:29:11 +0800 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2017-06-01 18:29:11 +0800 |
commit | 4f8a1c0d4cc9372823cb28a16936c49dd4f09402 (patch) | |
tree | 55ecd7123d35b302ad2f258bd891c0ef08e4fe30 /db | |
parent | 20dcd522f0a3cf2603047bcd296eae254487fa5a (diff) | |
download | gitlab-ce-4f8a1c0d4cc9372823cb28a16936c49dd4f09402.tar.gz |
Just use the url from options, not saving it as a column
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20170524195203_add_environment_url_to_ci_builds.rb | 9 | ||||
-rw-r--r-- | db/schema.rb | 3 |
2 files changed, 1 insertions, 11 deletions
diff --git a/db/migrate/20170524195203_add_environment_url_to_ci_builds.rb b/db/migrate/20170524195203_add_environment_url_to_ci_builds.rb deleted file mode 100644 index 191e7768693..00000000000 --- a/db/migrate/20170524195203_add_environment_url_to_ci_builds.rb +++ /dev/null @@ -1,9 +0,0 @@ -class AddEnvironmentUrlToCiBuilds < ActiveRecord::Migration - include Gitlab::Database::MigrationHelpers - - DOWNTIME = false - - def change - add_column(:ci_builds, :environment_url, :string) - end -end diff --git a/db/schema.rb b/db/schema.rb index 255da64d1a1..bac8f95ce3b 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -233,7 +233,6 @@ ActiveRecord::Schema.define(version: 20170525174156) do t.string "coverage_regex" t.integer "auto_canceled_by_id" t.boolean "retried" - t.string "environment_url" end add_index "ci_builds", ["auto_canceled_by_id"], name: "index_ci_builds_on_auto_canceled_by_id", using: :btree @@ -1493,4 +1492,4 @@ ActiveRecord::Schema.define(version: 20170525174156) do add_foreign_key "trending_projects", "projects", on_delete: :cascade add_foreign_key "u2f_registrations", "users" add_foreign_key "web_hook_logs", "web_hooks", on_delete: :cascade -end +end
\ No newline at end of file |