1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/db/migrate/20180917164000_create_action_mailbox_tables.rb
David Heinemeier Hansson 8a0a103495 ActionMailroom -> ActionMailbox
We didn't end up using the mailroom metaphor directly, so let's stick with a more conventional naming strategy.
2018-09-28 12:19:43 -07:00

11 lines
313 B
Ruby

class CreateActionMailboxTables < ActiveRecord::Migration[5.2]
def change
create_table :action_mailbox_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