forked from ScoDoc/ScoDoc
remove useless id from assoc table
This commit is contained in:
parent
b93fd36446
commit
aeb03ada68
@ -60,7 +60,6 @@ class GroupDescr(db.Model):
|
|||||||
|
|
||||||
group_membership = db.Table(
|
group_membership = db.Table(
|
||||||
"group_membership",
|
"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("etudid", db.Integer, db.ForeignKey("identite.id")),
|
||||||
db.Column("group_id", db.Integer, db.ForeignKey("group_descr.id")),
|
db.Column("group_id", db.Integer, db.ForeignKey("group_descr.id")),
|
||||||
db.UniqueConstraint("etudid", "group_id"),
|
db.UniqueConstraint("etudid", "group_id"),
|
||||||
|
Loading…
Reference in New Issue
Block a user