Skip to content

Commit

Permalink
update DB diagram
Browse files Browse the repository at this point in the history
  • Loading branch information
RafaelCenzano committed Sep 18, 2024
1 parent dc0195d commit 1e9bee1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
Binary file modified docs/database_docs/Labconnect_DB.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 0 additions & 2 deletions labconnect/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,6 @@ class RPIDepartments(db.Model, CustomSerializerMixin):
description = db.Column(db.String(2000), nullable=True, unique=False)
school_id = db.Column(db.String(64), db.ForeignKey("rpi_schools.name"))

school_id = db.Column(db.String(64), db.ForeignKey("rpi_schools.name"))

school = db.relationship("RPISchools", back_populates="departments")
lab_managers = db.relationship("LabManager", back_populates="department")
users = db.relationship("UserDepartments", back_populates="department")
Expand Down

0 comments on commit 1e9bee1

Please sign in to comment.