0x0/migrations/versions/5cee97aab219_.py

24 lines
466 B
Python
Raw Permalink Normal View History

2022-12-12 01:25:30 -05:00
"""add date of last virus scan
Revision ID: 5cee97aab219
Revises: e2e816056589
Create Date: 2022-12-10 16:39:56.388259
"""
# revision identifiers, used by Alembic.
revision = '5cee97aab219'
down_revision = 'e2e816056589'
from alembic import op
import sqlalchemy as sa
def upgrade():
2024-09-27 11:39:18 -04:00
op.add_column('file', sa.Column('last_vscan', sa.DateTime(),
nullable=True))
2022-12-12 01:25:30 -05:00
def downgrade():
op.drop_column('file', 'last_vscan')