diff options
author | utilum <oz@utilum.com> | 2018-07-26 12:36:03 +0200 |
---|---|---|
committer | utilum <oz@utilum.com> | 2018-07-26 12:41:53 +0200 |
commit | de2e797c491d31f26ed4111c6b7630de5efac3fa (patch) | |
tree | b8c61acc74a858196d419ad64055ec4a1d4f9d27 /guides | |
parent | 8a5fe2bcded1468934f060666a69dcd7d1fac9ae (diff) | |
download | rails-de2e797c491d31f26ed4111c6b7630de5efac3fa.tar.gz rails-de2e797c491d31f26ed4111c6b7630de5efac3fa.tar.bz2 rails-de2e797c491d31f26ed4111c6b7630de5efac3fa.zip |
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]
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/active_storage_overview.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/guides/source/active_storage_overview.md b/guides/source/active_storage_overview.md index 182d784595..6933717c2b 100644 --- a/guides/source/active_storage_overview.md +++ b/guides/source/active_storage_overview.md @@ -36,10 +36,10 @@ files. ## Setup Active Storage uses two tables in your application’s 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 |