diff --git a/scnserver/Dockerfile b/scnserver/Dockerfile index ede78a5..1ffa44e 100644 --- a/scnserver/Dockerfile +++ b/scnserver/Dockerfile @@ -7,6 +7,12 @@ RUN make build FROM debian:bookworm +RUN apt-get update && \ + apt-get install -y --no-install-recommends ca-certificates && \ + apt-get install -y --no-install-recommends tzdata && \ + rm -rf /var/cache/apt/archives && \ + rm -rf /var/lib/apt/lists + COPY --from=builder /repo/_build/scn_backend /app/scnserver COPY DOCKER_GIT_INFO /app/DOCKER_GIT_INFO diff --git a/scnserver/db/impl/primary/schema/schema_3.ddl b/scnserver/db/impl/primary/schema/schema_3.ddl index de57bc1..5e5d01b 100644 --- a/scnserver/db/impl/primary/schema/schema_3.ddl +++ b/scnserver/db/impl/primary/schema/schema_3.ddl @@ -185,7 +185,7 @@ CREATE TABLE deliveries status TEXT CHECK(status IN ('RETRY','SUCCESS','FAILED')) NOT NULL, retry_count INTEGER NOT NULL DEFAULT 0, - next_delivery INTEGER NULL DEFAULT NULL, + next_delivery TEXT NULL DEFAULT NULL, fcm_message_id TEXT NULL,