diff options
author | Ruben Davila <rdavila84@gmail.com> | 2016-09-29 03:01:24 +0300 |
---|---|---|
committer | Ruben Davila <rdavila84@gmail.com> | 2016-09-29 03:01:24 +0300 |
commit | ff7e4c490dd77041dc62e4623b8f1cc9eb1df645 (patch) | |
tree | 4f4392c5757b8f528977d895f8c83041683fa619 | |
parent | 62ead92ee808d32965b19128b529dce68d188f51 (diff) |
Fix: Downtime requirement was missing for migration.
-rw-r--r-- | db/migrate/20140502125220_migrate_repo_size.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/db/migrate/20140502125220_migrate_repo_size.rb b/db/migrate/20140502125220_migrate_repo_size.rb index 84463727b3b..fd71ec0155e 100644 --- a/db/migrate/20140502125220_migrate_repo_size.rb +++ b/db/migrate/20140502125220_migrate_repo_size.rb @@ -1,5 +1,7 @@ # rubocop:disable all class MigrateRepoSize < ActiveRecord::Migration + DOWNTIME = false + def up project_data = execute('SELECT projects.id, namespaces.path AS namespace_path, projects.path AS project_path FROM projects LEFT JOIN namespaces ON projects.namespace_id = namespaces.id') |