Skip to content

Instantly share code, notes, and snippets.

@dancallaghan
Last active February 3, 2020 21:28
Show Gist options
  • Save dancallaghan/10e74e9e62890cea03da89b953ff9c8e to your computer and use it in GitHub Desktop.
Save dancallaghan/10e74e9e62890cea03da89b953ff9c8e to your computer and use it in GitHub Desktop.
Fix up structure.sql
$ git checkout develop
$ dropdb smata_test && createdb smata_test && RAILS_ENV=test rails db:structure:load && \
git checkout dev-release && bundle install && RAILS_ENV=test rails db:migrate
$ git add db/structure.sql
$ git commit -m "db/structure.sql update"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment