mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
fb88ff78b3
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.
7 lines
145 B
Ruby
7 lines
145 B
Ruby
class ActiveStorageCreateUsers < ActiveRecord::Migration[5.1]
|
|
def change
|
|
create_table :users do |t|
|
|
t.string :name
|
|
end
|
|
end
|
|
end
|