rails db
Various database-related subcommands for Ruby on Rails.
=> More information.
- Create databases, load the schema, and initialize with seed data:
rails db:setup
- Access the database console:
rails db
- Create the databases defined in the current environment:
rails db:create
- Destroy the databases defined in the current environment:
rails db:drop
rails db:migrate
- View the status of each migration file:
rails db:migrate:status
- Rollback the last migration:
rails db:rollback
- Fill the current database with data defined in
db/seeds.rb
:
rails db:seed
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).
=> CC-BY
Proxy Information
- Original URL
- gemini://freeshell.de/tldr/rails-db.gmi
- Status Code
- Success (20)
- Meta
text/gemini;lang=en-GB
- Capsule Response Time
- 105.274886 milliseconds
- Gemini-to-HTML Time
- 0.601015 milliseconds
This content has been proxied by September (3851b).