chg: clear cakephp cache
parent
16201369de
commit
9a0c025ca9
|
@ -9,6 +9,14 @@ run_all_migrations() {
|
||||||
./bin/cake migrations migrate -p ADmad/SocialAuth
|
./bin/cake migrations migrate -p ADmad/SocialAuth
|
||||||
}
|
}
|
||||||
|
|
||||||
|
delete_model_cache() {
|
||||||
|
echo >&2 "Deleting cackephp cache..."
|
||||||
|
rm -rf ./tmp/cache/models/*
|
||||||
|
rm -rf ./tmp/cache/persistent/*
|
||||||
|
}
|
||||||
|
|
||||||
|
delete_model_cache
|
||||||
|
|
||||||
# waiting for DB to come up
|
# waiting for DB to come up
|
||||||
for try in 1 2 3 4 5 6; do
|
for try in 1 2 3 4 5 6; do
|
||||||
echo >&2 "migration - attempt $try"
|
echo >&2 "migration - attempt $try"
|
||||||
|
|
Loading…
Reference in New Issue