box-o-sand/map-mash/script/dev-reset
Dan Buch d834b81003 Add 'map-mash/' from commit '7f16409d1257e7471fef35c18bcdf32856b908e3'
git-subtree-dir: map-mash
git-subtree-mainline: eacc351b17
git-subtree-split: 7f16409d12
2013-01-09 23:59:47 -05:00

10 lines
181 B
Bash
Executable File

#!/bin/bash
set -e
export RAILS_ENV=development
rm -v db/development.sqlite3
bundle exec rake db:create
if [[ -f db/development.sqlite3 ]]; then
bundle exec rake db:migrate
fi