1
0
mirror of https://github.com/mastodon/mastodon synced 2024-12-21 01:58:25 +09:00
mastodon/db/migrate/20200407201300_create_unavailable_domains.rb

10 lines
232 B
Ruby

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