-
- Downloads
Move temp table creation into the prepare job
* Hopefully fixes spec failures in which the table doesn’t exist * Decouples the background migration from the post-deploy migration, e.g. we could easily run it again even though the table is dropped when finished.
Showing
- db/post_migrate/20171103140253_track_untracked_uploads.rb 0 additions, 20 deletionsdb/post_migrate/20171103140253_track_untracked_uploads.rb
- lib/gitlab/background_migration/prepare_untracked_uploads.rb 17 additions, 4 deletionslib/gitlab/background_migration/prepare_untracked_uploads.rb
- spec/lib/gitlab/background_migration/populate_untracked_uploads_spec.rb 14 additions, 3 deletions...b/background_migration/populate_untracked_uploads_spec.rb
- spec/lib/gitlab/background_migration/prepare_untracked_uploads_spec.rb 38 additions, 9 deletions...ab/background_migration/prepare_untracked_uploads_spec.rb
- spec/migrations/track_untracked_uploads_spec.rb 3 additions, 31 deletionsspec/migrations/track_untracked_uploads_spec.rb
- spec/support/track_untracked_uploads_helpers.rb 4 additions, 10 deletionsspec/support/track_untracked_uploads_helpers.rb
Please register or sign in to comment