mirror of
https://github.com/simple-login/app.git
synced 2024-11-18 06:31:27 +08:00
30 lines
767 B
Python
30 lines
767 B
Python
|
"""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 ###
|