4.21.3
This commit is contained in:
29
app/migrations/versions/2020_102016_eef0c404b531_.py
Normal file
29
app/migrations/versions/2020_102016_eef0c404b531_.py
Normal file
@ -0,0 +1,29 @@
|
||||
"""empty message
|
||||
|
||||
Revision ID: eef0c404b531
|
||||
Revises: 54ca2dbf89c0
|
||||
Create Date: 2020-10-20 16:49:33.756896
|
||||
|
||||
"""
|
||||
import sqlalchemy_utils
|
||||
from alembic import op
|
||||
import sqlalchemy as sa
|
||||
|
||||
|
||||
# revision identifiers, used by Alembic.
|
||||
revision = 'eef0c404b531'
|
||||
down_revision = '54ca2dbf89c0'
|
||||
branch_labels = None
|
||||
depends_on = None
|
||||
|
||||
|
||||
def upgrade():
|
||||
# ### commands auto generated by Alembic - please adjust! ###
|
||||
op.add_column('custom_domain', sa.Column('nb_failed_checks', sa.Integer(), server_default='0', nullable=False))
|
||||
# ### end Alembic commands ###
|
||||
|
||||
|
||||
def downgrade():
|
||||
# ### commands auto generated by Alembic - please adjust! ###
|
||||
op.drop_column('custom_domain', 'nb_failed_checks')
|
||||
# ### end Alembic commands ###
|
Reference in New Issue
Block a user