From e448ba91edd0bca45ff1187e7c590b41b8aed504 Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Tue, 14 Mar 2023 23:12:15 +0100 Subject: [PATCH] Missing migration --- .../19a608ebc9b7_user_mail_institutionnel.py | 30 +++++++++++++++++++ sco_version.py | 2 +- 2 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 migrations/versions/19a608ebc9b7_user_mail_institutionnel.py diff --git a/migrations/versions/19a608ebc9b7_user_mail_institutionnel.py b/migrations/versions/19a608ebc9b7_user_mail_institutionnel.py new file mode 100644 index 00000000..da0f6298 --- /dev/null +++ b/migrations/versions/19a608ebc9b7_user_mail_institutionnel.py @@ -0,0 +1,30 @@ +"""User: mail institutionnel + +Revision ID: 19a608ebc9b7 +Revises: ae9bb0feea7a +Create Date: 2023-03-14 16:22:50.907420 + +""" +from alembic import op +import sqlalchemy as sa + + +# revision identifiers, used by Alembic. +revision = "19a608ebc9b7" +down_revision = "ae9bb0feea7a" +branch_labels = None +depends_on = None + + +def upgrade(): + # ### commands auto generated by Alembic - please adjust! ### + op.add_column( + "user", sa.Column("email_institutionnel", sa.String(length=120), nullable=True) + ) + # ### end Alembic commands ### + + +def downgrade(): + # ### commands auto generated by Alembic - please adjust! ### + op.drop_column("user", "email_institutionnel") + # ### end Alembic commands ### diff --git a/sco_version.py b/sco_version.py index 990218e1..f40a58f4 100644 --- a/sco_version.py +++ b/sco_version.py @@ -1,7 +1,7 @@ # -*- mode: python -*- # -*- coding: utf-8 -*- -SCOVERSION = "9.4.63" +SCOVERSION = "9.4.64" SCONAME = "ScoDoc"