Where is this Rails file stored? db / development.sqlite3

I am trying to find a sqlite database file that creates rails.

Sorry if this is a stupid question, but in which folder is this file stored?

I looked through all the folders in the Rails project and cannot find it.

My database.yml :

  development: adapter: sqlite3 database: db/development.sqlite3 pool: 5 timeout: 5000 
+7
database ruby-on-rails sqlite configuration
source share
4 answers

This is in RAILS_ROOT / db / development.sqlite3

+18
source share

The database file can be found after you provided the "scaffold" command in the following directory. If you are in the project folder, then go to the "DB" folder, then you can see the file "development.sqlite3", this is the sqlite database file

+2
source share

The FWIW file may not exist if you have not done rake db: create yet.

+1
source share

sqlite://db/development.sqlite3

0
source share

All Articles