Add whitelist mode (#11291)
This commit is contained in:
9
db/migrate/20190705002136_create_domain_allows.rb
Normal file
9
db/migrate/20190705002136_create_domain_allows.rb
Normal file
@ -0,0 +1,9 @@
|
||||
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
|
Reference in New Issue
Block a user