From 172f2d63a4bec90ecdccb4febbb53211eedcc50a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lud=C4=9Bk=20Nov=C3=BD?= <13610612+ludeknovy@users.noreply.github.com> Date: Wed, 4 Sep 2024 20:28:53 +0200 Subject: [PATCH] Switch to TimescaleDB and remove toolkit migration script --- migrations/1713374194350_toolkit.js | 3 --- src/db/Dockerfile | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) delete mode 100644 migrations/1713374194350_toolkit.js diff --git a/migrations/1713374194350_toolkit.js b/migrations/1713374194350_toolkit.js deleted file mode 100644 index 5597813..0000000 --- a/migrations/1713374194350_toolkit.js +++ /dev/null @@ -1,3 +0,0 @@ -exports.up = (pgm) => { - pgm.createExtension("timescaledb_toolkit") -} diff --git a/src/db/Dockerfile b/src/db/Dockerfile index f007c50..cfdeda1 100644 --- a/src/db/Dockerfile +++ b/src/db/Dockerfile @@ -1,3 +1,3 @@ -FROM novyl/jtl-reporter-db:latest +FROM timescale/timescaledb-ha:pg16.4-ts2.16.1-all ENV POSTGRES_DB jtl_report COPY schema.sql /docker-entrypoint-initdb.d/