Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 8 lines (7 sloc) 316 Bytes
# Updates the mysql database.
# Run this script each time you check out from the repository.
echo "Doing rails migration..."
(cd site && $GEM_HOME/bin/rake db:migrate) || exit 1
echo "Creating DB views..."
cat create-views.sql | grep -v "^--" | mysql -u rails_user mlcomp_development
echo "Finished creating views!"