diff options
author | Michael Kozono <mkozono@gmail.com> | 2017-12-11 12:16:02 -0800 |
---|---|---|
committer | Michael Kozono <mkozono@gmail.com> | 2017-12-11 12:38:22 -0800 |
commit | 61267ca9a2d813de24bd1196f1bd23355140eb60 (patch) | |
tree | 6b99b14ded82368508894aeb0f06af01d90bf9a3 | |
parent | 806a68a81f1baeed07c146b1b5d9eb77796c46ba (diff) | |
download | gitlab-ce-61267ca9a2d813de24bd1196f1bd23355140eb60.tar.gz |
Ignore temporary table in schema
-rw-r--r-- | changelogs/unreleased/mk-fix-schema-dump-of-untracked-files-for-uploads.yml | 5 | ||||
-rw-r--r-- | config/initializers/active_record_schema_ignore_tables.rb | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/changelogs/unreleased/mk-fix-schema-dump-of-untracked-files-for-uploads.yml b/changelogs/unreleased/mk-fix-schema-dump-of-untracked-files-for-uploads.yml new file mode 100644 index 00000000000..2691e85320c --- /dev/null +++ b/changelogs/unreleased/mk-fix-schema-dump-of-untracked-files-for-uploads.yml @@ -0,0 +1,5 @@ +--- +title: Fix error during schema dump. +merge_request: 15866 +author: +type: fixed diff --git a/config/initializers/active_record_schema_ignore_tables.rb b/config/initializers/active_record_schema_ignore_tables.rb new file mode 100644 index 00000000000..661135f8ade --- /dev/null +++ b/config/initializers/active_record_schema_ignore_tables.rb @@ -0,0 +1,2 @@ +# Ignore table used temporarily in background migration +ActiveRecord::SchemaDumper.ignore_tables = ["untracked_files_for_uploads"] |