mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
67a9a86b1d
- config.load_defaults 6.0 in the dummy app and
fix the test since by default rails 6.0 configured
does not generate "utf8" hidden input, see #32125
- Use `ActiveRecord::Migration[6.0]` in the dummy app
since actiontext will be since Rails 6.0
- Fix `CreateActiveStorageTables` migration in the dummy app.
Add `t.foreign_key :active_storage_blobs, column: :blob_id`
It was added in 2ae3a29508
.
- `rails/actiontext$ yarn install`
8 lines
160 B
Ruby
8 lines
160 B
Ruby
class CreateMessages < ActiveRecord::Migration[6.0]
|
|
def change
|
|
create_table :messages do |t|
|
|
t.string :subject
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|