Skip to content

Commit

Permalink
Merge branch 'features/119-clean-up-migration-process' into stage
Browse files Browse the repository at this point in the history
  • Loading branch information
MelissaAutumn committed Oct 2, 2023
2 parents e0466aa + 4ee99fa commit de09fbc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions backend/deploy.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,9 @@ RUN pip install --upgrade pip
COPY pyproject.toml .
RUN pip install .

COPY src/ ./src
COPY scripts/ ./scripts
COPY src/ .

RUN cp ./src/alembic.ini.example ./src/alembic.ini
RUN cp ./src/alembic.ini.example ./alembic.ini

EXPOSE 5000
CMD ["/bin/sh", "./scripts/entry.sh"]
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def secret():


def upgrade() -> None:
op.drop_column("appointments", "appointment_type")
# op.drop_column("appointments", "appointment_type")
op.drop_constraint("schedules_ibfk_1", "schedules", type_="foreignkey")
op.drop_column("schedules", "appointment_id")
op.add_column("schedules", sa.Column("calendar_id", sa.Integer, sa.ForeignKey("calendars.id")))
Expand Down

0 comments on commit de09fbc

Please sign in to comment.