diff options
author | bogdanvlviv <bogdanvlviv@gmail.com> | 2018-12-30 03:04:17 +0200 |
---|---|---|
committer | bogdanvlviv <bogdanvlviv@gmail.com> | 2018-12-30 03:10:16 +0200 |
commit | f9792fdd512a48e0fd71a3baf0f3a0de9a477369 (patch) | |
tree | 57138f53743022cd94cc78c4c5f012129b5bf89b /actionmailbox | |
parent | 7c4457447e1136979e8ed9d822700c1041e9efa6 (diff) | |
download | rails-f9792fdd512a48e0fd71a3baf0f3a0de9a477369.tar.gz rails-f9792fdd512a48e0fd71a3baf0f3a0de9a477369.tar.bz2 rails-f9792fdd512a48e0fd71a3baf0f3a0de9a477369.zip |
Use 6.0 version of ActiveRecord::Migration for Action Mailbox
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.
Diffstat (limited to 'actionmailbox')
3 files changed, 3 insertions, 3 deletions
diff --git a/actionmailbox/db/migrate/20180917164000_create_action_mailbox_tables.rb b/actionmailbox/db/migrate/20180917164000_create_action_mailbox_tables.rb index 85e19bc3c6..0124b4b98f 100644 --- a/actionmailbox/db/migrate/20180917164000_create_action_mailbox_tables.rb +++ b/actionmailbox/db/migrate/20180917164000_create_action_mailbox_tables.rb @@ -1,4 +1,4 @@ -class CreateActionMailboxTables < ActiveRecord::Migration[5.2] +class CreateActionMailboxTables < ActiveRecord::Migration[6.0] def change create_table :action_mailbox_inbound_emails do |t| t.integer :status, default: 0, null: false diff --git a/actionmailbox/test/dummy/config/application.rb b/actionmailbox/test/dummy/config/application.rb index ffba407fd7..ea8ab1fc5e 100644 --- a/actionmailbox/test/dummy/config/application.rb +++ b/actionmailbox/test/dummy/config/application.rb @@ -7,7 +7,7 @@ Bundler.require(*Rails.groups) module Dummy class Application < Rails::Application # Initialize configuration defaults for originally generated Rails version. - config.load_defaults 5.2 + config.load_defaults 6.0 # Settings in config/environments/* take precedence over those specified here. # Application configuration can go into files in config/initializers diff --git a/actionmailbox/test/dummy/db/migrate/20180208205311_create_action_mailroom_tables.rb b/actionmailbox/test/dummy/db/migrate/20180208205311_create_action_mailroom_tables.rb index 85e19bc3c6..0124b4b98f 100644 --- a/actionmailbox/test/dummy/db/migrate/20180208205311_create_action_mailroom_tables.rb +++ b/actionmailbox/test/dummy/db/migrate/20180208205311_create_action_mailroom_tables.rb @@ -1,4 +1,4 @@ -class CreateActionMailboxTables < ActiveRecord::Migration[5.2] +class CreateActionMailboxTables < ActiveRecord::Migration[6.0] def change create_table :action_mailbox_inbound_emails do |t| t.integer :status, default: 0, null: false |