
rails-db
List of commands for rails-db:
-
rails-db:tldr:11e84 rails-db: Access the database console.$ rails dbtry on your machineexplain this command
-
rails-db:tldr:44047 rails-db: Rollback the last migration.$ rails db:rollbacktry on your machineexplain this command
-
rails-db:tldr:5f483 rails-db: Run pending migrations.$ rails db:migratetry on your machineexplain this command
-
rails-db:tldr:78a8b rails-db: Create the databases defined in the current environment.$ rails db:createtry on your machineexplain this command
-
rails-db:tldr:7bfbf rails-db: Destroy the databases defined in the current environment.$ rails db:droptry on your machineexplain this command
-
rails-db:tldr:d80e4 rails-db: View the status of each migration file.$ rails db:migrate:statustry on your machineexplain this command
-
rails-db:tldr:e51d5 rails-db: Fill the current database with data defined in `db/seeds.rb`.$ rails db:seedtry on your machineexplain this command
-
rails-db:tldr:f704a rails-db: Create databases, load the schema, and initialize with seed data.$ rails db:setuptry on your machineexplain this command