Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions labconnect/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ def initialize_extensions(app) -> None:
# Since the application instance is now created, pass it to each Flask
# extension instance to bind it to the Flask application instance (app)
db.init_app(app)
db.create_all()
migrate.init_app(app, db)
jwt.init_app(app)
app.json = OrJSONProvider(app)
Expand Down
1 change: 0 additions & 1 deletion labconnect/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -390,4 +390,3 @@ class RecommendsClassYears(db.Model):
)
year = db.relationship("ClassYears", back_populates="opportunities")

db.create_all()
Loading