Skip to content

Commit 2ab80a9

Browse files
committed
fix: modified migrations running behavior to run on post deploy instead
1 parent dcda1a3 commit 2ab80a9

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Procfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
worker: celery -A brightIDfaucet worker -B
22
beat: celery -A brightIDfaucet beat -l INFO
3-
release: python manage.py migrate
43
web: gunicorn brightIDfaucet.wsgi --workers 2 --threads 2

app.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313
"quantity": 1
1414
}
1515
},
16+
"scripts": {
17+
"postdeploy": "python manage.py migrate"
18+
},
1619
"healthchecks": {
1720
"web": [
1821
{

0 commit comments

Comments
 (0)