app-MAIL-temp/migrations/versions/83f4dbe125c4_.py

30 lines
767 B
Python
Raw Normal View History

2019-11-21 22:45:02 +01:00
"""empty message
Revision ID: 83f4dbe125c4
Revises: 3ebfbaeb76c0
Create Date: 2019-11-21 22:44:46.307030
"""
import sqlalchemy_utils
from alembic import op
import sqlalchemy as sa
from sqlalchemy.dialects import postgresql
# revision identifiers, used by Alembic.
revision = '83f4dbe125c4'
down_revision = '3ebfbaeb76c0'
branch_labels = None
depends_on = None
def upgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.drop_column('users', 'trial_expiration')
# ### end Alembic commands ###
def downgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.add_column('users', sa.Column('trial_expiration', postgresql.TIMESTAMP(), autoincrement=False, nullable=True))
# ### end Alembic commands ###