Commit f5b63600 authored by James Lopez's avatar James Lopez

add wiki failure

parent 7dae62cb
class AddLastRepositorySyncFailureToProjectRegistry < ActiveRecord::Migration class AddLastSyncFailureToProjectRegistry < ActiveRecord::Migration
DOWNTIME = false DOWNTIME = false
def change def change
add_column :project_registry, :last_repository_sync_failure, :string add_column :project_registry, :last_repository_sync_failure, :string
add_column :project_registry, :last_wiki_sync_failure, :string
end end
end end
...@@ -51,6 +51,7 @@ ActiveRecord::Schema.define(version: 20171115143841) do ...@@ -51,6 +51,7 @@ ActiveRecord::Schema.define(version: 20171115143841) do
t.datetime "wiki_retry_at" t.datetime "wiki_retry_at"
t.boolean "force_to_redownload_wiki" t.boolean "force_to_redownload_wiki"
t.string "last_repository_sync_failure" t.string "last_repository_sync_failure"
t.string "last_wiki_sync_failure"
end end
add_index "project_registry", ["last_repository_successful_sync_at"], name: "index_project_registry_on_last_repository_successful_sync_at", using: :btree add_index "project_registry", ["last_repository_successful_sync_at"], name: "index_project_registry_on_last_repository_successful_sync_at", using: :btree
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment