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

@@ -15,5 +15,7 @@ CREATE SCHEMA zulip AUTHORIZATION zulip;
CREATE EXTENSION tsearch_extras SCHEMA zulip;
EOF
sh "$(dirname "$0")/flush-memcached"
echo "Database created"