曾凯修改了student_id中外键约束更改了student_info_detail.id

This commit is contained in:
曾凯
2026-09-21 16:07:31 +08:00
parent eaa940e751
commit 37b79d371a
+1 -1
View File
@@ -9,7 +9,7 @@ class Score(Base):
,comment="成绩表序号,自增主键"
)
student_id = Column(Integer
,ForeignKey("Student.id")
,ForeignKey("student_info_detail.id")
,nullable=False
,comment="学生学号"
)