4.21.3
This commit is contained in:
29
app/migrations/versions/83f4dbe125c4_.py
Normal file
29
app/migrations/versions/83f4dbe125c4_.py
Normal file
@ -0,0 +1,29 @@
|
||||
"""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 ###
|
Reference in New Issue
Block a user