Add whitelist mode (#11291)
This commit is contained in:
parent
85b7b565de
commit
24552b5160
44 changed files with 302 additions and 53 deletions
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
|
Loading…
Add table
Add a link
Reference in a new issue