Last active
April 5, 2023 14:39
-
-
Save DevGW/1c3b36a6870596850118322549f23d2d to your computer and use it in GitHub Desktop.
Ruby / Rails :: rake db:migrate notes #rails
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#if you need to create a database: | |
rails db:create RAILS_ENV=development | |
#there may be migrations here: | |
bin/rails db:migrate RAILS_ENV=development | |
#remember to CONNECT as root for Querious first db | |
#remember to Add User for a website's db | |
#remember to create the db in Querious and give permissions to the User | |
#THEN you can run rake db:migrate for rails to create the tables | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment