Ruby on Rails 8 · Database

Open the database shell

Open psql, mysql or sqlite3, depending on your configuration.

bin/rails dbconsole

Official Ruby on Rails 8 documentation

More database commands

All database commands · Ruby on Rails 8 cheatsheet

Was this page helpful?