Check in backend in working state
This commit is contained in:
@ -0,0 +1,33 @@
|
||||
"""Add subsystem to auditlog
|
||||
|
||||
Revision ID: f30e413c5757
|
||||
Revises: a0befb5a74a0
|
||||
Create Date: 2025-04-28 21:21:20.103423
|
||||
|
||||
"""
|
||||
from typing import Sequence, Union
|
||||
|
||||
from alembic import op
|
||||
import sqlalchemy as sa
|
||||
import sqlmodel
|
||||
|
||||
|
||||
# revision identifiers, used by Alembic.
|
||||
revision: str = 'f30e413c5757'
|
||||
down_revision: Union[str, None] = 'a0befb5a74a0'
|
||||
branch_labels: Union[str, Sequence[str], None] = None
|
||||
depends_on: Union[str, Sequence[str], None] = None
|
||||
|
||||
|
||||
def upgrade() -> None:
|
||||
"""Upgrade schema."""
|
||||
# ### commands auto generated by Alembic - please adjust! ###
|
||||
op.add_column('auditlog', sa.Column('subsystem', sqlmodel.sql.sqltypes.AutoString(), nullable=True))
|
||||
# ### end Alembic commands ###
|
||||
|
||||
|
||||
def downgrade() -> None:
|
||||
"""Downgrade schema."""
|
||||
# ### commands auto generated by Alembic - please adjust! ###
|
||||
op.drop_column('auditlog', 'subsystem')
|
||||
# ### end Alembic commands ###
|
||||
Reference in New Issue
Block a user