summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorMichael Kozono <mkozono@gmail.com>2017-11-13 15:39:26 -0800
committerMichael Kozono <mkozono@gmail.com>2017-12-01 15:26:41 -0800
commit2b481e7b28114982e95af5ab17cdab2dc832bf78 (patch)
treeaff6d6e9cfc42d73a898868441fba8abc381756d /db
parent1ba4d417fe7bec333c410cff861d43f0bd1e1c03 (diff)
downloadgitlab-ce-2b481e7b28114982e95af5ab17cdab2dc832bf78.tar.gz
Exclude `untracked_files_for_uploads` from schema
Because it is a temporary table meant only to facilitate a migration of data. It is referenced only by the post-deploy migration and 2 related background migrations. It should be dropped when the data migration is finished.
Diffstat (limited to 'db')
-rw-r--r--db/schema.rb10
1 files changed, 0 insertions, 10 deletions
diff --git a/db/schema.rb b/db/schema.rb
index e193d569739..effb2604af2 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -1719,16 +1719,6 @@ ActiveRecord::Schema.define(version: 20171124150326) do
add_index "u2f_registrations", ["key_handle"], name: "index_u2f_registrations_on_key_handle", using: :btree
add_index "u2f_registrations", ["user_id"], name: "index_u2f_registrations_on_user_id", using: :btree
- create_table "untracked_files_for_uploads", force: :cascade do |t|
- t.string "path", null: false
- t.boolean "tracked", default: false, null: false
- t.datetime_with_timezone "created_at", null: false
- t.datetime_with_timezone "updated_at", null: false
- end
-
- add_index "untracked_files_for_uploads", ["path"], name: "index_untracked_files_for_uploads_on_path", unique: true, using: :btree
- add_index "untracked_files_for_uploads", ["tracked"], name: "index_untracked_files_for_uploads_on_tracked", using: :btree
-
create_table "uploads", force: :cascade do |t|
t.integer "size", limit: 8, null: false
t.string "path", null: false