How to access default Rails sqlite db?

前端 未结 8 1639
清酒与你
清酒与你 2020-12-13 03:37

I would like to view the data in my DB while developing with Rails (actually in all 3 of them development, test and production). I have not touched the configs, so it should

8条回答
  •  时光说笑
    2020-12-13 04:11

    To view data on DB, I used an SQLite client called DB Browser for SQLite,here is the link

    There is a Linux version of this app too. There should be a database file with sqlite extension on db directory of the app. On DB Browser, select Open Database option and choose that file and you should be able to view the data.

提交回复
热议问题