diff options
author | utam0k <k0ma@utam0k.jp> | 2017-10-04 22:16:10 +0900 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-10-04 15:16:10 +0200 |
commit | b3af3f9f8cd5ed9c7ee06452e981b1b7734e1d89 (patch) | |
tree | 8ea106d91d77f83a1c0b368d8657203c544e7eca /db/migrate | |
parent | d5091387c6ddbe03b118b0cfb6d74cf821b84fb2 (diff) |
Implement EmailBlackList (#5109)
* Implement BlacklistedEmailDomain * Use Faker::Internet.domain_name * Remove note column * Add frozen_string_literal comment * Delete unnecessary codes * Sort alphabetically * Change of wording * Rename BlacklistedEmailDomain to EmailDomainBlock
Diffstat (limited to 'db/migrate')
-rw-r--r-- | db/migrate/20170928082043_create_email_domain_blocks.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20170928082043_create_email_domain_blocks.rb b/db/migrate/20170928082043_create_email_domain_blocks.rb new file mode 100644 index 000000000..1f0fb7587 --- /dev/null +++ b/db/migrate/20170928082043_create_email_domain_blocks.rb @@ -0,0 +1,9 @@ +class CreateEmailDomainBlocks < ActiveRecord::Migration[5.1] + def change + create_table :email_domain_blocks do |t| + t.string :domain, null: false + + t.timestamps + end + end +end |