script to regenerate database schema
This commit is contained in:
parent
31176f525e
commit
d0e4ad1334
11
dev_tools/propel_regenerate.sh
Executable file
11
dev_tools/propel_regenerate.sh
Executable file
@ -0,0 +1,11 @@
|
||||
#!/bin/bash -e
|
||||
# Absolute path to this script
|
||||
SCRIPT=`readlink -f $0`
|
||||
# Absolute directory this script is in
|
||||
SCRIPTPATH=`dirname $SCRIPT`
|
||||
|
||||
cd $SCRIPTPATH/../airtime_mvc/
|
||||
path=`pwd`
|
||||
cd build
|
||||
sed -i s#"project\.home =.*$"#"project.home = $path"#g build.properties
|
||||
../library/propel/generator/bin/propel-gen
|
||||
Loading…
x
Reference in New Issue
Block a user