diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2018-09-17 16:55:07 -0700 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2018-09-17 16:55:07 -0700 |
commit | 627bbd34e142fa7caff49fd660a9a586f3ed6826 (patch) | |
tree | c068e6a777d7fd7441f7fb6c5cbfb9e6e3bf29c6 /db/migrate | |
parent | 52b1e2c6cfd5e76d72a6de09b28e51f2440c48c4 (diff) | |
download | rails-627bbd34e142fa7caff49fd660a9a586f3ed6826.tar.gz rails-627bbd34e142fa7caff49fd660a9a586f3ed6826.tar.bz2 rails-627bbd34e142fa7caff49fd660a9a586f3ed6826.zip |
Add inbound email
Diffstat (limited to 'db/migrate')
-rw-r--r-- | db/migrate/20180917164000_create_action_mailbox_tables.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/db/migrate/20180917164000_create_action_mailbox_tables.rb b/db/migrate/20180917164000_create_action_mailbox_tables.rb new file mode 100644 index 0000000000..c2ba8f63b7 --- /dev/null +++ b/db/migrate/20180917164000_create_action_mailbox_tables.rb @@ -0,0 +1,10 @@ +class CreateActionMailboxTables < ActiveRecord::Migration[5.2] + def change + create_table :action_mailbox_inbound_emails do |t| + t.integer :status, default: 0, null: false + + t.datetime :created_at, precision: 6 + t.datetime :updated_at, precision: 6 + end + end +end |