Flush memcached whenever we drop the databases.

This fixes some issues that we've had where commands will fail is
confusing ways after the database is rebuilt because data from before
the database was dropped is still in the memcached cache.
This commit is contained in:
Tim Abbott
2015-09-28 10:57:40 -07:00
parent 32aea4c9dd
commit bf694fa832
5 changed files with 12 additions and 0 deletions

View File

@@ -67,5 +67,7 @@ psql -h localhost postgres "$USERNAME" <<EOF
CREATE DATABASE $DBNAME TEMPLATE $DBNAME_BASE;
EOF
sh "$(dirname "$0")/../scripts/setup/flush-memcached"
echo "Database created"