forked from ScoDoc/ScoDoc
Fix: very long (32) formation_codes (pour Lille)
This commit is contained in:
parent
086cb8f8f5
commit
ba8a8e8d19
@ -90,7 +90,7 @@ class ScolarAutorisationInscription(db.Model):
|
|||||||
db.Integer,
|
db.Integer,
|
||||||
db.ForeignKey("identite.id"),
|
db.ForeignKey("identite.id"),
|
||||||
)
|
)
|
||||||
formation_code = db.Column(db.String(CODE_STR_LEN), nullable=False)
|
formation_code = db.Column(db.String(SHORT_STR_LEN), nullable=False)
|
||||||
# semestre ou on peut s'inscrire:
|
# semestre ou on peut s'inscrire:
|
||||||
semestre_id = db.Column(db.Integer)
|
semestre_id = db.Column(db.Integer)
|
||||||
date = db.Column(db.DateTime(timezone=True), server_default=db.func.now())
|
date = db.Column(db.DateTime(timezone=True), server_default=db.func.now())
|
||||||
|
Loading…
Reference in New Issue
Block a user