Allow proper detection of zones, fix certificate detection

This commit is contained in:
Curtis Castrapel
2018-08-14 14:37:45 -07:00
parent e050177c08
commit 2c22c9c2f1
8 changed files with 54 additions and 18 deletions

View File

@ -0,0 +1,32 @@
"""Convert pending cert status field to text
Revision ID: 5ae0ecefb01f
Revises: 1db4f82bc780
Create Date: 2018-08-14 08:16:43.329316
"""
# revision identifiers, used by Alembic.
revision = '5ae0ecefb01f'
down_revision = '1db4f82bc780'
from alembic import op
import sqlalchemy as sa
def upgrade():
op.alter_column(
table_name='pending_certs',
column_name='status',
nullable=True,
type_=sa.TEXT()
)
def downgrade():
op.alter_column(
table_name='pending_certs',
column_name='status',
nullable=True,
type_=sa.VARCHAR(128)
)