Skip to content

Instantly share code, notes, and snippets.

@DevGW
Last active April 5, 2023 14:39
Show Gist options
  • Save DevGW/1c3b36a6870596850118322549f23d2d to your computer and use it in GitHub Desktop.
Save DevGW/1c3b36a6870596850118322549f23d2d to your computer and use it in GitHub Desktop.
Ruby / Rails :: rake db:migrate notes #rails
#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