gitlab-org--gitlab-foss/db/migrate/20181019032400_add_shards_table.rb

12 lines
220 B
Ruby
Raw Normal View History

2018-10-19 08:17:50 -04:00
# frozen_string_literal: true
class AddShardsTable < ActiveRecord::Migration
DOWNTIME = false
def change
create_table :shards do |t|
t.string :name, null: false, index: { unique: true }
end
end
end