rails db

Various database-related subcommands for Ruby on Rails. More information: https://guides.rubyonrails.org/active_record_migrations.html.

rails db:setup

rails db

rails db:create

rails db:drop

rails db:migrate

rails db:migrate:status

rails db:rollback

rails db:seed