10 lines
181 B
Bash
Executable File
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
|