From aeb03ada6835493cd9a172b7bb2f66dc4a78db8b Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Sun, 15 Aug 2021 09:08:56 +0200 Subject: [PATCH] remove useless id from assoc table --- app/models/groups.py | 1 - 1 file changed, 1 deletion(-) diff --git a/app/models/groups.py b/app/models/groups.py index 7e330e62..688744b0 100644 --- a/app/models/groups.py +++ b/app/models/groups.py @@ -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"),