Fix DB issues
This commit is contained in:
@@ -18,6 +18,13 @@ COPY shared/ ./shared/
|
||||
# Copy application code
|
||||
COPY services/recipes/app/ ./app/
|
||||
|
||||
# Copy migrations and alembic config
|
||||
COPY services/recipes/migrations/ /app/migrations/
|
||||
COPY services/recipes/alembic.ini /app/alembic.ini
|
||||
|
||||
# Copy scripts directory
|
||||
COPY scripts/ ./scripts/
|
||||
|
||||
# Create logs directory
|
||||
RUN mkdir -p logs
|
||||
|
||||
|
||||
@@ -1,29 +0,0 @@
|
||||
"""Initial ecipes service tables
|
||||
|
||||
Revision ID: 001_initial_recipes
|
||||
Revises:
|
||||
Create Date: 2024-01-01 12:00:00.000000
|
||||
|
||||
"""
|
||||
from typing import Sequence, Union
|
||||
|
||||
from alembic import op
|
||||
import sqlalchemy as sa
|
||||
from sqlalchemy.dialects import postgresql
|
||||
|
||||
# revision identifiers, used by Alembic.
|
||||
revision: str = '001_initial_recipes'
|
||||
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:
|
||||
# TODO: Add table creation statements for ecipes service
|
||||
# This is a placeholder migration - replace with actual table definitions
|
||||
pass
|
||||
|
||||
|
||||
def downgrade() -> None:
|
||||
# TODO: Add table drop statements for ecipes service
|
||||
pass
|
||||
Reference in New Issue
Block a user