From a022a80632216cd674f30eca1f417752303b585a Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Sun, 15 Aug 2021 22:13:41 +0200 Subject: [PATCH] chaines de taille variable (text) pour tag suivi --- app/models/etudiants.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/etudiants.py b/app/models/etudiants.py index 41a4cf11..1756ae32 100644 --- a/app/models/etudiants.py +++ b/app/models/etudiants.py @@ -132,7 +132,7 @@ class ItemSuiviTag(db.Model): __tablename__ = "itemsuivi_tags" id = db.Column(db.Integer, primary_key=True) tag_id = db.synonym("id") - title = db.Column(db.String(SHORT_STR_LEN), nullable=False, unique=True) + title = db.Column(db.Text(), nullable=False, unique=True) # Association tag <-> module