"""audit result

Revision ID: 6f468738f159
Revises: 9a76db159a34
Create Date: 2023-01-17 10:57:37.542758

"""
from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = '6f468738f159'
down_revision = '9a76db159a34'
branch_labels = None
depends_on = None


def upgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.add_column('cmf_audit', sa.Column('result_status', sa.String(length=32), nullable=False, server_default='ok'))
    op.add_column('cmf_audit', sa.Column('client_ip', sa.String(length=32), nullable=True))
    # ### end Alembic commands ###


def downgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_column('cmf_audit', 'client_ip')
    op.drop_column('cmf_audit', 'result_status')
    # ### end Alembic commands ###
