Skip to content

Commit

Permalink
Rails 6
Browse files Browse the repository at this point in the history
  • Loading branch information
schneems committed Jun 2, 2023
1 parent 5ea192a commit 7ed528f
Show file tree
Hide file tree
Showing 2 changed files with 181 additions and 190 deletions.
9 changes: 1 addition & 8 deletions test/fixtures/rails_5/rundoc.md
Original file line number Diff line number Diff line change
Expand Up @@ -249,14 +249,7 @@ Provision a Postgresql database using Add-ons.
>A `mini` Postgres size costs [$5 a month, prorated to the minute](https://elements.heroku.com/addons/heroku-postgresql). At the end of this tutorial, you will be prompted to [delete your database](https://devcenter.heroku.com/articles/heroku-postgresql#removing-the-add-on) to minimize costs.
```term
$ heroku addons:create heroku-postgresql:mini
Creating heroku-postgresql:mini on ⬢ shrouded-anchorage-34700... $5/month
Database has been created and is available
! This database is empty. If upgrading, you can transfer
! data from another database with pg:copy
Created postgresql-encircled-75487 as DATABASE_URL
Use heroku addons:docs heroku-postgresql to view documentation
:::>> $ heroku addons:create heroku-postgresql:mini
```

Your Heroku app now has access to a Postgresql database. The credentials are stored in the `DATABASE_URL` environment variable, which Rails will connect to by convention.
Expand Down
Loading

0 comments on commit 7ed528f

Please sign in to comment.