mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-08-27 12:30:13 +03:00
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:
parent
8ecc35193d
commit
a98707e91d
@ -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')
|
||||
Loading…
x
Reference in New Issue
Block a user