We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bce2d37 + 6dbaac0 commit 80529a3Copy full SHA for 80529a3
labconnect/__init__.py
@@ -55,6 +55,7 @@ def initialize_extensions(app) -> None:
55
# Since the application instance is now created, pass it to each Flask
56
# extension instance to bind it to the Flask application instance (app)
57
db.init_app(app)
58
+ db.create_all()
59
migrate.init_app(app, db)
60
jwt.init_app(app)
61
app.json = OrJSONProvider(app)
labconnect/models.py
@@ -390,4 +390,3 @@ class RecommendsClassYears(db.Model):
390
)
391
year = db.relationship("ClassYears", back_populates="opportunities")
392
393
-db.create_all()
0 commit comments