Introduce a `docker-compose.yml` to define the services for backend and database with health checks. Add Alembic configurations for database migrations and an initial empty migration. Include backend-related Docker setup with an entrypoint script for database migration execution.
27 lines
480 B
Python
27 lines
480 B
Python
"""Initial empty migration
|
|
|
|
Revision ID: 7396957cbe80
|
|
Revises:
|
|
Create Date: 2025-02-27 12:47:46.445313
|
|
|
|
"""
|
|
from typing import Sequence, Union
|
|
|
|
from alembic import op
|
|
import sqlalchemy as sa
|
|
|
|
|
|
# revision identifiers, used by Alembic.
|
|
revision: str = '7396957cbe80'
|
|
down_revision: Union[str, None] = None
|
|
branch_labels: Union[str, Sequence[str], None] = None
|
|
depends_on: Union[str, Sequence[str], None] = None
|
|
|
|
|
|
def upgrade() -> None:
|
|
pass
|
|
|
|
|
|
def downgrade() -> None:
|
|
pass
|