1
0
mirror of https://github.com/funamitech/mastodon synced 2024-12-25 20:18:30 +09:00
YuruToot/db/migrate/20190705002136_create_domain_allows.rb

12 lines
251 B
Ruby
Raw Normal View History

# frozen_string_literal: true
2019-07-30 18:10:46 +09: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