aboutsummaryrefslogtreecommitdiffstats
path: root/db/migrate/20180917164000_create_action_mailroom_tables.rb
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2018-09-27 16:43:53 -0700
committerDavid Heinemeier Hansson <david@loudthinking.com>2018-09-27 16:43:53 -0700
commitb190f0fa65b2633f96b352bb1975cd1ce379b972 (patch)
tree48383dd4e7bd2ae11878e89a92e06184e17a2a38 /db/migrate/20180917164000_create_action_mailroom_tables.rb
parent7362459d60b9070dce0a5dcbe67f26a5e511d5ca (diff)
downloadrails-b190f0fa65b2633f96b352bb1975cd1ce379b972.tar.gz
rails-b190f0fa65b2633f96b352bb1975cd1ce379b972.tar.bz2
rails-b190f0fa65b2633f96b352bb1975cd1ce379b972.zip
Match file and class name
Diffstat (limited to 'db/migrate/20180917164000_create_action_mailroom_tables.rb')
-rw-r--r--db/migrate/20180917164000_create_action_mailroom_tables.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/db/migrate/20180917164000_create_action_mailroom_tables.rb b/db/migrate/20180917164000_create_action_mailroom_tables.rb
new file mode 100644
index 0000000000..cea05a6437
--- /dev/null
+++ b/db/migrate/20180917164000_create_action_mailroom_tables.rb
@@ -0,0 +1,11 @@
+class CreateActionMailroomTables < ActiveRecord::Migration[5.2]
+ def change
+ create_table :action_mailroom_inbound_emails do |t|
+ t.integer :status, default: 0, null: false
+ t.string :message_id
+
+ t.datetime :created_at, precision: 6
+ t.datetime :updated_at, precision: 6
+ end
+ end
+end