2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-07 12:02:53 +08:00
discourse/config/cloud/cloud66/scripts/migrate.sh

11 lines
186 B
Bash
Raw Normal View History

2013-10-14 17:09:29 +01:00
#!/bin/bash
FILE=/tmp/migrate_done
if [ -f $FILE ]
then
echo "File $FILE exists..."
else
cd $RAILS_STACK_PATH
bundle exec rake db:migrate db:seed_fu
touch /tmp/migrate_done
fi