Skip to content

Commit b690141

Browse files
committed
Add postdeploy script
1 parent 28a214b commit b690141

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app.json

+3
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
"sample"
88
],
99
"repository": "https://github.com/yefim/flask-heroku-sample",
10+
"scripts": {
11+
"postdeploy": "python -c 'from app import db; db.create_all()'"
12+
},
1013
"addons": [
1114
"heroku-postgresql"
1215
]

0 commit comments

Comments
 (0)