aboutsummaryrefslogtreecommitdiffstats
path: root/activestorage
diff options
context:
space:
mode:
authorRafael França <rafaelmfranca@gmail.com>2017-08-22 11:57:12 -0400
committerGitHub <noreply@github.com>2017-08-22 11:57:12 -0400
commit79f3f286303cf12cbcd7784acd12e814cff16f58 (patch)
tree658e5ff74cd38ac1deda02aa558e90a53c820b2d /activestorage
parentfabac4fe025e3af5ecd53e621a06cc4ab20b01b5 (diff)
parent92431ea5fb74b0732dbe052ddad38f8227903230 (diff)
downloadrails-79f3f286303cf12cbcd7784acd12e814cff16f58.tar.gz
rails-79f3f286303cf12cbcd7784acd12e814cff16f58.tar.bz2
rails-79f3f286303cf12cbcd7784acd12e814cff16f58.zip
Merge pull request #30336 from bogdanvlviv/use_version_5_2_for_activestorage
Use 5.2 version of ActiveRecord::Migration for Active Storage
Diffstat (limited to 'activestorage')
-rw-r--r--activestorage/db/migrate/20170806125915_create_active_storage_tables.rb2
-rw-r--r--activestorage/test/database/create_users_migration.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/activestorage/db/migrate/20170806125915_create_active_storage_tables.rb b/activestorage/db/migrate/20170806125915_create_active_storage_tables.rb
index 8dc000821b..7a869874a4 100644
--- a/activestorage/db/migrate/20170806125915_create_active_storage_tables.rb
+++ b/activestorage/db/migrate/20170806125915_create_active_storage_tables.rb
@@ -1,4 +1,4 @@
-class CreateActiveStorageTables < ActiveRecord::Migration[5.1]
+class CreateActiveStorageTables < ActiveRecord::Migration[5.2]
def change
create_table :active_storage_blobs do |t|
t.string :key, null: false
diff --git a/activestorage/test/database/create_users_migration.rb b/activestorage/test/database/create_users_migration.rb
index 317daa87b5..fdba87cacf 100644
--- a/activestorage/test/database/create_users_migration.rb
+++ b/activestorage/test/database/create_users_migration.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-class ActiveStorageCreateUsers < ActiveRecord::Migration[5.1]
+class ActiveStorageCreateUsers < ActiveRecord::Migration[5.2]
def change
create_table :users do |t|
t.string :name