1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
Commit graph

2 commits

Author SHA1 Message Date
Jonathan Hefner
373ad2c624 Change commands to not depend on ARGV
Follow-up to #38463.

This commit changes additional command classes to not depend on prior
ARGV contents.
2020-02-18 14:08:59 -06:00
Gannon McGibbon
4b1ae57f0f Add rails db:system:change command
Add `rails db:system:change` command for changing databases.

```
bin/rails db:system:change --to=postgresql
   force  config/database.yml
    gsub  Gemfile
```

The change command copies a template `config/database.yml` with
the target database adapter into your app, and replaces your database
gem with the target database gem.
2019-01-09 14:23:25 -05:00