1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/test/database/create_users_migration.rb
Robin Dupret fb88ff78b3 Fix the migration class name
Due to Active Support auto loading feature, the migration class
shouldn't be name-spaced under the `ActiveStorage` constant, otherwise,
running the migrations would throw an error.
2017-07-06 23:01:40 +02:00

7 lines
145 B
Ruby

class ActiveStorageCreateUsers < ActiveRecord::Migration[5.1]
def change
create_table :users do |t|
t.string :name
end
end
end