-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #550 from OpenUpSA/feature/scheduled-committee-mee…
…ting-times Feature/scheduled committee meeting times
- Loading branch information
Showing
10 changed files
with
126 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM python:3.7.17-slim-bullseye | ||
FROM python:3.8-slim-bullseye | ||
|
||
ENV PYTHONUNBUFFERED=1 \ | ||
PIP_NO_CACHE_DIR=1 \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM python:3.7 | ||
FROM python:3.8 | ||
ENV PYTHONUNBUFFERED 1 | ||
RUN mkdir /app | ||
COPY requirements.txt /app/ | ||
|
36 changes: 36 additions & 0 deletions
36
migrations/versions/33e499db410_add_scheduled_start_time_and_actual_end_.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
"""Add scheduled_start_time and actual_end_time to CommitteeMeeting | ||
Revision ID: 33e499db410 | ||
Revises: e02ab1542a | ||
Create Date: 2024-07-15 09:38:43.690415 | ||
""" | ||
|
||
# revision identifiers, used by Alembic. | ||
revision = '33e499db410' | ||
down_revision = 'e02ab1542a' | ||
|
||
from alembic import op | ||
import sqlalchemy as sa | ||
|
||
|
||
def upgrade(): | ||
### commands auto generated by Alembic - please adjust! ### | ||
op.add_column('event', sa.Column('scheduled_end_time', sa.Time(timezone=True), nullable=True)) | ||
op.add_column('event', sa.Column('scheduled_start_time', sa.Time(timezone=True), nullable=True)) | ||
op.alter_column('user', 'fs_uniquifier', | ||
existing_type=sa.VARCHAR(length=64), | ||
nullable=True, | ||
existing_server_default=sa.text("''::character varying")) | ||
### end Alembic commands ### | ||
|
||
|
||
def downgrade(): | ||
### commands auto generated by Alembic - please adjust! ### | ||
op.alter_column('user', 'fs_uniquifier', | ||
existing_type=sa.VARCHAR(length=64), | ||
nullable=False, | ||
existing_server_default=sa.text("''::character varying")) | ||
op.drop_column('event', 'scheduled_start_time') | ||
op.drop_column('event', 'scheduled_end_time') | ||
### end Alembic commands ### |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.