This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
mastodon/db/migrate/20190705002136_create_domai...

12 lines
251 B
Ruby
Raw Permalink Normal View History

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