Disable database management tasks in Rails
If you wish to not have Rails manage migrations, seeds, schema changes, etc, you can add the database_tasks: false
to your database.yml
. This may be useful if you are "inheriting", sharing a database managed with some other system, or if you are connecting to a readonly database.
production:
database: hashrocket
adapter: postgresql
encoding: unicode
pool: 5
database_tasks: false
Tweet