mirror of
https://github.com/mastodon/mastodon
synced 2024-12-01 00:08:21 +09:00
10 lines
220 B
Ruby
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
|