mirror of https://github.com/rails/rails
Merge pull request #40998 from justin-robinson/master
[ci skip] instruct to change active_storage_variant_records.id column type to U…
This commit is contained in:
commit
eb7cee0169
|
@ -43,7 +43,7 @@ tables. Use `bin/rails db:migrate` to run the migration.
|
|||
|
||||
WARNING: `active_storage_attachments` is a polymorphic join table that stores your model's class name. If your model's class name changes, you will need to run a migration on this table to update the underlying `record_type` to your model's new class name.
|
||||
|
||||
WARNING: If you are using UUIDs instead of integers as the primary key on your models you will need to change the column type of `record_id` for the `active_storage_attachments` table in the generated migration accordingly.
|
||||
WARNING: If you are using UUIDs instead of integers as the primary key on your models you will need to change the column type of `active_storage_attachments.record_id` and `active_storage_variant_records.id` in the generated migration accordingly.
|
||||
|
||||
Declare Active Storage services in `config/storage.yml`. For each service your
|
||||
application uses, provide a name and the requisite configuration. The example
|
||||
|
|
Loading…
Reference in New Issue