Files
bakery-ia/services/pos/migrations/versions/001_initial_pos_tables.py

29 lines
711 B
Python
Raw Normal View History

2025-09-29 19:16:34 +02:00
"""Initial POS service tables
2025-08-16 15:00:36 +02:00
2025-09-29 19:16:34 +02:00
Revision ID: 001_initial_pos
Create Date: 2024-01-01 12:00:00.000000
2025-08-16 15:00:36 +02:00
"""
2025-09-29 19:16:34 +02:00
from typing import Sequence, Union
2025-08-16 15:00:36 +02:00
from alembic import op
import sqlalchemy as sa
from sqlalchemy.dialects import postgresql
# revision identifiers, used by Alembic.
2025-09-29 19:16:34 +02:00
revision: str = '001_initial_pos'
down_revision: Union[str, None] = None
branch_labels: Union[str, Sequence[str], None] = None
depends_on: Union[str, Sequence[str], None] = None
2025-08-16 15:00:36 +02:00
def upgrade() -> None:
2025-09-29 19:16:34 +02:00
# TODO: Add table creation statements for POS service
# This is a placeholder migration - replace with actual table definitions
pass
2025-08-16 15:00:36 +02:00
def downgrade() -> None:
2025-09-29 19:16:34 +02:00
# TODO: Add table drop statements for POS service
pass