Skip to content

Commit 1e9bee1

Browse files
committed
update DB diagram
1 parent dc0195d commit 1e9bee1

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

docs/database_docs/Labconnect_DB.png

9.35 KB
Loading

labconnect/models.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,6 @@ class RPIDepartments(db.Model, CustomSerializerMixin):
105105
description = db.Column(db.String(2000), nullable=True, unique=False)
106106
school_id = db.Column(db.String(64), db.ForeignKey("rpi_schools.name"))
107107

108-
school_id = db.Column(db.String(64), db.ForeignKey("rpi_schools.name"))
109-
110108
school = db.relationship("RPISchools", back_populates="departments")
111109
lab_managers = db.relationship("LabManager", back_populates="department")
112110
users = db.relationship("UserDepartments", back_populates="department")

0 commit comments

Comments
 (0)