1
0
forked from ScoDoc/ScoDoc

remove useless id from assoc table

This commit is contained in:
Emmanuel Viennet 2021-08-15 09:08:56 +02:00
parent b93fd36446
commit aeb03ada68

View File

@ -60,7 +60,6 @@ class GroupDescr(db.Model):
group_membership = db.Table(
"group_membership",
db.Column("id", db.Integer, primary_key=True), # was group_membership_id
db.Column("etudid", db.Integer, db.ForeignKey("identite.id")),
db.Column("group_id", db.Integer, db.ForeignKey("group_descr.id")),
db.UniqueConstraint("etudid", "group_id"),