import the other database in my system

 import the other database in my system 

.......................................................................................


1. downlaod database sql file in my system

2. cut paste downloaded databas sql file in my project -

3. change the name of database in database.yml and/or application.yml in test/production and development – in all three modes

4. run the command of postgres -

psql -U postgres chingchingbyakon_dev8 < local_10_01_22.sql

enter the password - for my system that is postgres

5. rake db:create

6. rake db:migrate

Comments

Popular posts from this blog

Rails 7 Features :: Comparison with Rails 6 and Rails 5