aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models
diff options
context:
space:
mode:
authoreileencodes <eileencodes@gmail.com>2018-03-16 13:56:58 -0400
committereileencodes <eileencodes@gmail.com>2018-03-21 13:53:24 -0400
commitd79d6867a23b90e0f9e2670a3300c9a044c84dca (patch)
tree382f8326848c0e98ba609f54bb24527f9f85a161 /activerecord/test/models
parent1756094b22bf81f15ffdfdb5208075b58c45296f (diff)
downloadrails-d79d6867a23b90e0f9e2670a3300c9a044c84dca.tar.gz
rails-d79d6867a23b90e0f9e2670a3300c9a044c84dca.tar.bz2
rails-d79d6867a23b90e0f9e2670a3300c9a044c84dca.zip
Add create/drop/migrate db tasks for each database in the environment
If we have a three-tier yaml file like this: ``` development: primary: database: "development" animals: database: "development_animals" migrations_paths: "db/animals_migrate" ``` This will add db create/drop/and migrate tasks for each level of the config under that environment. ``` bin/rails db:drop:primary bin/rails db:drop:animals bin/rails db:create:primary bin/rails db:create:animals bin/rails db:migrate:primary bin/rails db:migrate:animals ```
Diffstat (limited to 'activerecord/test/models')
0 files changed, 0 insertions, 0 deletions