chore: Remove redundant migration fixup

f0b0de2a9_add_api_keys_table already includes updated_at column,
so the fixup migration f0b0de2a9b is unnecessary.
This commit is contained in:
YueGuobin 2026-06-11 23:51:07 +08:00
parent 8ecc35193d
commit a98707e91d
No known key found for this signature in database

View File

@ -1,23 +0,0 @@
"""add updated_at column to api_keys table
Revision ID: f0b0de2a9b
Revises: f0b0de2a9
Create Date: 2026-06-11 23:15:00.000000
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = 'f0b0de2a9b'
down_revision = 'f0b0de2a9'
branch_labels = None
depends_on = None
def upgrade() -> None:
op.add_column('api_keys', sa.Column('updated_at', sa.DateTime(), server_default=sa.func.current_timestamp(), nullable=False))
def downgrade() -> None:
op.drop_column('api_keys', 'updated_at')