remodeling table models and migration to postgres

This commit is contained in:
2025-08-23 09:16:37 +02:00
parent fe2ccbe368
commit 648448ebdc
20 changed files with 166 additions and 401 deletions
@@ -0,0 +1,32 @@
"""Initial tables
Revision ID: 0aa4734ce008
Revises:
Create Date: 2025-08-17 16:44:05.785214
"""
from typing import Sequence, Union
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision: str = '0aa4734ce008'
down_revision: Union[str, Sequence[str], None] = None
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! ###
pass
# ### end Alembic commands ###
def downgrade() -> None:
"""Downgrade schema."""
# ### commands auto generated by Alembic - please adjust! ###
pass
# ### end Alembic commands ###