mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
f9792fdd51
Since Action Mailbox will be introduced in Rails 6.0, it makes more sense to generate migration of that version. Also I changed its test dummy app to use default 6.0 configs.
11 lines
313 B
Ruby
11 lines
313 B
Ruby
class CreateActionMailboxTables < ActiveRecord::Migration[6.0]
|
|
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
|