summaryrefslogtreecommitdiff
path: root/db/migrate/20181120082911_rename_repositories_pool_repositories.rb
blob: 165771c47754da971fca6b941d28703af61e0592 (plain)
1
2
3
4
5
6
7
8
9
10
11
class RenameRepositoriesPoolRepositories < ActiveRecord::Migration[5.0]
  include Gitlab::Database::MigrationHelpers

  # This change doesn't require downtime as the table is not in use, so we're
  # free to change an empty table
  DOWNTIME = false

  def change
    rename_table :repositories, :pool_repositories
  end
end