mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #42408 from abhaynikam/update-active-storage-guide-about-num-tables
Update Active Storage guide about num migration added in setup [ci skip]
This commit is contained in:
commit
0b07e33c10
1 changed files with 3 additions and 2 deletions
|
@ -35,8 +35,9 @@ files.
|
|||
|
||||
## Setup
|
||||
|
||||
Active Storage uses two tables in your application’s database named
|
||||
`active_storage_blobs` and `active_storage_attachments`. After creating a new
|
||||
Active Storage uses three tables in your application’s database named
|
||||
`active_storage_blobs`, `active_storage_variant_records`
|
||||
and `active_storage_attachments`. After creating a new
|
||||
application (or upgrading your application to Rails 5.2), run
|
||||
`bin/rails active_storage:install` to generate a migration that creates these
|
||||
tables. Use `bin/rails db:migrate` to run the migration.
|
||||
|
|
Loading…
Reference in a new issue