fedibird-fe/db/migrate/20190705002136_create_domain_allows.rb

10 lines
220 B
Ruby
Raw Permalink Normal View History

2019-07-30 09:10:46 +00:00
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