rails db
Various database-related subcommands for Ruby on Rails.
- Create databases, load the schema, and initialize with seed data:
- Access the database console:
- Create the databases defined in the current environment:
- Destroy the databases defined in the current environment:
- Run pending migrations:
- View the status of each migration file:
- Rollback the last migration:
- Fill the current database with data defined in `db/seeds.rb`:
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).