forked from ScoDoc/ScoDoc
Missing migration
This commit is contained in:
parent
c44ec8c619
commit
e448ba91ed
30
migrations/versions/19a608ebc9b7_user_mail_institutionnel.py
Normal file
30
migrations/versions/19a608ebc9b7_user_mail_institutionnel.py
Normal file
@ -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 ###
|
@ -1,7 +1,7 @@
|
|||||||
# -*- mode: python -*-
|
# -*- mode: python -*-
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
SCOVERSION = "9.4.63"
|
SCOVERSION = "9.4.64"
|
||||||
|
|
||||||
SCONAME = "ScoDoc"
|
SCONAME = "ScoDoc"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user