diff options
Diffstat (limited to 'db/post_migrate/20180223124427_build_user_interacted_projects_table.rb')
-rw-r--r-- | db/post_migrate/20180223124427_build_user_interacted_projects_table.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/db/post_migrate/20180223124427_build_user_interacted_projects_table.rb b/db/post_migrate/20180223124427_build_user_interacted_projects_table.rb index 8c8dbb1a043..fa332fd5c70 100644 --- a/db/post_migrate/20180223124427_build_user_interacted_projects_table.rb +++ b/db/post_migrate/20180223124427_build_user_interacted_projects_table.rb @@ -1,7 +1,7 @@ require_relative '../migrate/20180223120443_create_user_interacted_projects_table.rb' # rubocop:disable AddIndex # rubocop:disable AddConcurrentForeignKey -class BuildUserInteractedProjectsTable < ActiveRecord::Migration +class BuildUserInteractedProjectsTable < ActiveRecord::Migration[4.2] include Gitlab::Database::MigrationHelpers # Set this constant to true if this migration requires downtime. @@ -43,7 +43,7 @@ class BuildUserInteractedProjectsTable < ActiveRecord::Migration end end - class PostgresStrategy < ActiveRecord::Migration + class PostgresStrategy < ActiveRecord::Migration[4.2] include Gitlab::Database::MigrationHelpers BATCH_SIZE = 100_000 @@ -141,7 +141,7 @@ class BuildUserInteractedProjectsTable < ActiveRecord::Migration end end - class MysqlStrategy < ActiveRecord::Migration + class MysqlStrategy < ActiveRecord::Migration[4.2] include Gitlab::Database::MigrationHelpers def up |