"""add updated at Revision ID: 6bd7ce57dca0 Revises: 404f8a028e0e Create Date: 2024-10-07 14:02:25.722428 """ from typing import Sequence, Union from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision: str = '6bd7ce57dca0' down_revision: Union[str, None] = '404f8a028e0e' branch_labels: Union[str, Sequence[str], None] = None depends_on: Union[str, Sequence[str], None] = None def upgrade() -> None: # ### commands auto generated by Alembic - please adjust! ### op.add_column('category', sa.Column('updated_at', sa.DateTime(), server_default=sa.text('CURRENT_TIMESTAMP'), nullable=False)) # ### end Alembic commands ### def downgrade() -> None: # ### commands auto generated by Alembic - please adjust! ### op.drop_column('category', 'updated_at') # ### end Alembic commands ###