![]() * In current database.yml config, all database environments are sharing same database. Suffix database name with relevant environment name to ensure database uniqueness * Update Rails migration command to `db:drop:all` and `db:create:all`, so all db listed in config/database.yml is dropped/created accordingly * Write a base ActiveRecord model that connects to different database (production database) * Write a base ActiveRecord model that connects to default database (development database), this is a dummy model, just for symmetry's sake |
||
---|---|---|
.. | ||
database_adapters | ||
bundle.rb | ||
command_runner.rb | ||
current_bundle.rb | ||
database.rb | ||
database_configuration.rb | ||
database_configuration_registry.rb | ||
filesystem.rb | ||
version.rb |