Doublement de la taille du nom maximal d'une nuance politique

This commit is contained in:
2024-06-09 16:56:09 +02:00
parent d6ed4eed17
commit 8d94230674
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ class Nuance(Base):
__tablename__ = "nuance2024"
code: Mapped[str] = mapped_column(String(8), primary_key=True)
nom: Mapped[str] = mapped_column(String(32), unique=True)
nom: Mapped[str] = mapped_column(String(64), unique=True)
couleur: Mapped[str] = mapped_column(String(7))
listes: Mapped[List["Liste"]] = relationship("Liste", back_populates="nuance")