Add files via upload

This commit is contained in:
LogiFlow authored and GitHub committed 2025-11-22 10:01:25 +01:00
commit afed10abc5
72 files changed
+12339

No files matched your search

@@ -0,0 +1,37 @@
"""Add refresh fields
Revision ID: 6ecb6f39fd8c
Revises: initial_migration
Create Date: 2025-11-19 12:53:09.412700
"""
from collections.abc import Sequence
import sqlalchemy as sa
from alembic import op
from app.models import Base
target_metadata = Base.metadata
# revision identifiers, used by Alembic.
revision: str = "6ecb6f39fd8c"
down_revision: str | None = "initial_migration"
branch_labels: str | Sequence[str] | None = None
depends_on: str | Sequence[str] | None = None
def upgrade() -> None:
# ### commands auto generated by Alembic - please adjust! ###
op.add_column("items", sa.Column("is_refreshing", sa.Boolean(), nullable=True))
op.add_column("items", sa.Column("last_error", sa.String(), nullable=True))
# ### end Alembic commands ###
def downgrade() -> None:
# ### commands auto generated by Alembic - please adjust! ###
op.drop_column("items", "last_error")
op.drop_column("items", "is_refreshing")
# ### end Alembic commands ###