Commit 8922b7b7 authored by Michael Kozono's avatar Michael Kozono


parent 3d16f7cd
Pipeline #14032763 passed with stages
in 52 minutes and 31 seconds
......@@ -9,7 +9,6 @@ An easy first step is to search for your error in Slack or google "GitLab <my er
Available `RAILS_ENV`
- `production` (not sure if in GDK)
- `development` (this is your main GDK db)
- `test` (used for tests like rspec and spinach)
......@@ -18,9 +17,9 @@ Available `RAILS_ENV`
If you just want to delete everything and start over,
- `bundle exec rake db:drop RAILS_ENV=development`
- `bundle exec rake db:setup RAILS_ENV=development`
- `bundle exec rake dev:setup RAILS_ENV=development` : Also runs DB specific stuff and seeds dummy data (slow)
- `bundle exec rake db:reset RAILS_ENV=development` : Doesn't do the above (fast)
- `bundle exec rake db:reset RAILS_ENV=test` : Fix the test DB, since it doesn't contain important data.
## Migration wrangling
  • I removed the production line bc that would be unusual to the point that the dev would know if they need to use that env or not :)

Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment