Skip to content

Instantly share code, notes, and snippets.

@andreleoni
Created March 19, 2018 21:08
Show Gist options
  • Select an option

  • Save andreleoni/32db286b1f10b5d9bbcae0a1d458b632 to your computer and use it in GitHub Desktop.

Select an option

Save andreleoni/32db286b1f10b5d9bbcae0a1d458b632 to your computer and use it in GitHub Desktop.
database load by structure.sql - rails
rake db:drop
git checkout master db/structure.sql
rake db:create
rake db:structure:load
rake db:migrate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment