Skip to content

Instantly share code, notes, and snippets.

@emailrhoads
Last active December 6, 2021 16:42
Show Gist options
  • Select an option

  • Save emailrhoads/275297ca81948028201a8f93270e2b2b to your computer and use it in GitHub Desktop.

Select an option

Save emailrhoads/275297ca81948028201a8f93270e2b2b to your computer and use it in GitHub Desktop.
Rebuild structure and dumps #gemini
git checkout origin/master db/structure.sql
git checkout origin/master spec/lib/gemini/tie_20*/dump.psql
RAILS_ENV=test be rake db:drop db:create db:structure:load db:migrate
RAILS_ENV=test be rake gemini:update_dump_files
git checkout origin/master db/structure.sql
RAILS_ENV=test be rake db:drop db:create db:structure:load db:migrate
git status
git add db/structure.sql
git add spec/lib/gemini/tie_20*/dump.psql
git commit -m "regen structure and dumps"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment