If you are comfortable with SQL commands, you can enter your app's folder and run rails db
, which is a brief form of rails dbconsole
. It will enter the shell of your database, whether it is sqlite or mysql.
Then, you can query the table columns using sql command like:
pragma table_info(your_table);