diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2018-09-27 16:43:53 -0700 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2018-09-27 16:43:53 -0700 |
commit | b190f0fa65b2633f96b352bb1975cd1ce379b972 (patch) | |
tree | 48383dd4e7bd2ae11878e89a92e06184e17a2a38 /db/migrate/20180917164000_create_action_mailroom_tables.rb | |
parent | 7362459d60b9070dce0a5dcbe67f26a5e511d5ca (diff) | |
download | rails-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.rb | 11 |
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 |