diff options
author | Sean McGivern <sean@mcgivern.me.uk> | 2017-07-26 12:49:54 +0000 |
---|---|---|
committer | Sean McGivern <sean@mcgivern.me.uk> | 2017-07-26 12:49:54 +0000 |
commit | 5de3ec64da3f7154f72413ae12d2e13935533f2b (patch) | |
tree | b921866293f9aaa520cb058f195e91e079e6521e /db | |
parent | d29598e69190d6bc3a7d3cea44892d2db69d20e0 (diff) | |
parent | b5bdc55d239f3e19f8fe1e59b118da05ac81a0dd (diff) | |
download | gitlab-ce-5de3ec64da3f7154f72413ae12d2e13935533f2b.tar.gz |
Merge branch '29289-project-destroy-clean-up-after-failure' into 'master'
Handle errors while a project is being deleted asynchronously.
Closes #29289
See merge request !11088
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20170428064307_add_column_delete_error_to_projects.rb | 7 | ||||
-rw-r--r-- | db/schema.rb | 1 |
2 files changed, 8 insertions, 0 deletions
diff --git a/db/migrate/20170428064307_add_column_delete_error_to_projects.rb b/db/migrate/20170428064307_add_column_delete_error_to_projects.rb new file mode 100644 index 00000000000..09f9d9b5b7a --- /dev/null +++ b/db/migrate/20170428064307_add_column_delete_error_to_projects.rb @@ -0,0 +1,7 @@ +class AddColumnDeleteErrorToProjects < ActiveRecord::Migration + DOWNTIME = false + + def change + add_column :projects, :delete_error, :text + end +end diff --git a/db/schema.rb b/db/schema.rb index 7724af5b610..61bcd8c7e95 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -1134,6 +1134,7 @@ ActiveRecord::Schema.define(version: 20170724214302) do t.integer "cached_markdown_version" t.datetime "last_repository_updated_at" t.string "ci_config_path" + t.text "delete_error" end add_index "projects", ["ci_id"], name: "index_projects_on_ci_id", using: :btree |