1
0
mirror of https://github.com/whippyshou/mastodon synced 2024-11-27 14:28:55 +09:00
whippy-edition/db/migrate/20190705002136_create_domain_allows.rb
2019-07-30 11:10:46 +02:00

10 lines
220 B
Ruby

class CreateDomainAllows < ActiveRecord::Migration[5.2]
def change
create_table :domain_allows do |t|
t.string :domain, default: '', null: false, index: { unique: true }
t.timestamps
end
end
end