mirror of
https://github.com/discourse/discourse.git
synced 2025-02-07 08:33:15 +08:00
11 lines
186 B
Bash
Executable File
11 lines
186 B
Bash
Executable File
#!/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 |