AST Guide: install and migrate tasks in new app

This line refers only to an upgrade situation, but same is need to setup AST in a new application.

[ci skip]
This commit is contained in:
utilum 2018-07-26 12:36:03 +02:00
parent 8a5fe2bcde
commit de2e797c49

@ -36,10 +36,10 @@ files.
## Setup
Active Storage uses two tables in your applications database named
`active_storage_blobs` and `active_storage_attachments`. After upgrading your
application to Rails 5.2, run `rails active_storage:install` to generate a
migration that creates these tables. Use `rails db:migrate` to run the
migration.
`active_storage_blobs` and `active_storage_attachments`. After creating a new
application (or upgrading your application to Rails 5.2), run
`rails active_storage:install` to generate a migration that creates these
tables. Use `rails db:migrate` to run the migration.
Declare Active Storage services in `config/storage.yml`. For each service your
application uses, provide a name and the requisite configuration. The example