Skip to content

Commit

Permalink
Merge pull request #4 from Den1al/develop
Browse files Browse the repository at this point in the history
Added the `db.create_all` function call to ensure the database is up
  • Loading branch information
Den1al authored Mar 7, 2017
2 parents f054a05 + 207069d commit 9680ef9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@


app = Flask(__name__)

app.config.from_object('app.config.DevelopmentConfig')

db = SQLAlchemy(app)

from app import views, models

db.create_all()

0 comments on commit 9680ef9

Please sign in to comment.