Skip to content

Commit

Permalink
Update database size
Browse files Browse the repository at this point in the history
  • Loading branch information
schneems committed May 17, 2024
1 parent ee6b212 commit 8c33b54
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 10 deletions.
12 changes: 5 additions & 7 deletions test/fixtures/rails_4/rundoc.md
Original file line number Diff line number Diff line change
Expand Up @@ -252,13 +252,11 @@ 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
$ heroku addons:create heroku-postgresql:essential-0
Creating heroku-postgresql:essential-0 on ⬢ shrouded-anchorage-34700... ~$0.007/hour (max $5/month)
Database should be available soon
postgresql-encircled-75487 is being created in the background. The app will restart when complete...
Use heroku addons:info postgresql-encircled-75487 to check creation progress
Use heroku addons:docs heroku-postgresql to view documentation
```

Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/rails_5/rundoc.md
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +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
:::>> $ heroku addons:create heroku-postgresql:essential-0
```

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
2 changes: 1 addition & 1 deletion test/fixtures/rails_6/rundoc.md
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ Provision a [Heroku Postgres](https://devcenter.heroku.com/articles/heroku-postg
>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, we prompt you 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
:::>> $ heroku addons:create heroku-postgresql:essential-0
```

Your Heroku app can now access this Postgres database. The `DATABASE_URL` environment variable stores your credentials, which Rails connects to by convention.
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/rails_7/rundoc.md
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ Provision a [Heroku Postgres](https://devcenter.heroku.com/articles/heroku-postg
>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, we prompt you 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
:::>> $ heroku addons:create heroku-postgresql:essential-0
```

Your Heroku app can now access this Postgres database. The `DATABASE_URL` environment variable stores your credentials, which Rails connects to by convention.
Expand Down

0 comments on commit 8c33b54

Please sign in to comment.