From fb15e310644eccc05f1370c5103f6777d31129b1 Mon Sep 17 00:00:00 2001 From: "Christopher C. Wells" Date: Mon, 21 Feb 2022 07:33:17 -0800 Subject: [PATCH] Add database reset to review environment scrips --- app.json | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app.json b/app.json index e4d01112..afe46da3 100644 --- a/app.json +++ b/app.json @@ -32,6 +32,13 @@ "generator": "secret" } }, + "environments": { + "review": { + "scripts": { + "postdeploy": "python manage.py migrate && python manage.py createcachetable && python manage.py reset --no-input" + } + } + }, "scripts": { "postdeploy": "python manage.py migrate && python manage.py createcachetable" }