about summary refs log tree commit diff
path: root/db/migrate/20170928082043_create_email_domain_blocks.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20170928082043_create_email_domain_blocks.rb')
-rw-r--r--db/migrate/20170928082043_create_email_domain_blocks.rb9
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