2016-11-16 01:43:45 +01:00
|
|
|
"""Changing the column name to the more accurately named 'notify'.
|
2016-10-15 09:12:11 +02:00
|
|
|
|
|
|
|
Revision ID: 932525b82f1a
|
|
|
|
Revises: 7f71c0cea31a
|
|
|
|
Create Date: 2016-10-13 20:14:33.928029
|
|
|
|
|
|
|
|
"""
|
|
|
|
|
|
|
|
# revision identifiers, used by Alembic.
|
2019-05-16 16:57:02 +02:00
|
|
|
revision = "932525b82f1a"
|
|
|
|
down_revision = "7f71c0cea31a"
|
2016-10-15 09:12:11 +02:00
|
|
|
|
|
|
|
from alembic import op
|
|
|
|
|
|
|
|
|
|
|
|
def upgrade():
|
2019-05-16 16:57:02 +02:00
|
|
|
op.alter_column("certificates", "active", new_column_name="notify")
|
2016-10-15 09:12:11 +02:00
|
|
|
|
|
|
|
|
|
|
|
def downgrade():
|
2019-05-16 16:57:02 +02:00
|
|
|
op.alter_column("certificates", "notify", new_column_name="active")
|