mirror of https://github.com/snachodog/mybuddy.git
Add database reset to review environment scrips
This commit is contained in:
parent
cf21441576
commit
fb15e31064
7
app.json
7
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"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue