lcreid / rails-5-jade

Rails 5 with Jekyll and Node on Ubuntu 18.04
MIT License
29 stars 3 forks source link

New Postgres Project Could be Smoother #24

Closed lcreid closed 5 years ago

lcreid commented 5 years ago

Typically, to start a new project we want to do:

rails new --database=postgresql --skip-coffee .

This creates a config/database.yml that doesn't match the docs. It would be nice to harmonize the docs and the build so that building a new project was easier.

lcreid commented 5 years ago

This drags us down a morass of how to handle upgrades. People who have working apps will be broken by an upgrade. Think this through before doing anything.

lcreid commented 5 years ago

I think this can be handled adequately by creating a new database role vagrant, and also creating the old pg role. Old apps will continue to work, but new ones can be built a lot more easily.