blob: e31af97cc94aa1ed0c0f0b91394a916fa1e1b84d (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
# frozen_string_literal: true
class AddShardsTable < ActiveRecord::Migration[4.2]
DOWNTIME = false
def change
create_table :shards do |t|
t.string :name, null: false, index: { unique: true }
end
end
end
|