forked from ScoDoc/ScoDoc
specify table name is necessary for flask upgrade
This commit is contained in:
parent
3f8b3f4d0d
commit
1cbab37e2f
@ -272,6 +272,7 @@ class DispenseUE(db.Model):
|
||||
la dispense étant une exception.
|
||||
"""
|
||||
|
||||
__tablename__ = "dispenseUE"
|
||||
__table_args__ = (db.UniqueConstraint("formsemestre_id", "ue_id", "etudid"),)
|
||||
id = db.Column(db.Integer, primary_key=True)
|
||||
formsemestre_id = formsemestre_id = db.Column(
|
||||
|
Loading…
Reference in New Issue
Block a user