2016-06-20 16:23:56 +01:00
|
|
|
"""empty message
|
|
|
|
|
|
|
|
|
|
Revision ID: 0031_store_personalisation
|
|
|
|
|
Revises: 0030_service_id_not_null
|
|
|
|
|
Create Date: 2016-06-20 10:39:50.892847
|
|
|
|
|
|
|
|
|
|
"""
|
|
|
|
|
|
|
|
|
|
# revision identifiers, used by Alembic.
|
2023-08-29 14:54:30 -07:00
|
|
|
revision = "0031_store_personalisation"
|
|
|
|
|
down_revision = "0030_service_id_not_null"
|
2016-06-20 16:23:56 +01:00
|
|
|
|
|
|
|
|
import sqlalchemy as sa
|
2023-12-08 21:43:52 -05:00
|
|
|
from alembic import op
|
2016-06-20 16:23:56 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
def upgrade():
|
|
|
|
|
### commands auto generated by Alembic - please adjust! ###
|
2023-08-29 14:54:30 -07:00
|
|
|
op.add_column(
|
|
|
|
|
"notifications", sa.Column("_personalisation", sa.String(), nullable=True)
|
|
|
|
|
)
|
2016-06-20 16:23:56 +01:00
|
|
|
### end Alembic commands ###
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def downgrade():
|
|
|
|
|
### commands auto generated by Alembic - please adjust! ###
|
2023-08-29 14:54:30 -07:00
|
|
|
op.drop_column("notifications", "_personalisation")
|
2016-06-20 16:23:56 +01:00
|
|
|
### end Alembic commands ###
|