From ea18e777f90331bf9a90f2a1cc2e109172a42686 Mon Sep 17 00:00:00 2001 From: fr33m0nk Date: Sat, 29 Jun 2024 10:00:55 +0530 Subject: [PATCH] move docker-compose sql migrations --- .../postgres-db.sql | 0 .../postgres-table.sql | 0 .../postgres-user.sql | 0 docker-compose/docker-compose.yml | 2 +- 4 files changed, 1 insertion(+), 1 deletion(-) rename docker-compose/{postgres-migrations => datomic-postgres-migrations}/postgres-db.sql (100%) rename docker-compose/{postgres-migrations => datomic-postgres-migrations}/postgres-table.sql (100%) rename docker-compose/{postgres-migrations => datomic-postgres-migrations}/postgres-user.sql (100%) diff --git a/docker-compose/postgres-migrations/postgres-db.sql b/docker-compose/datomic-postgres-migrations/postgres-db.sql similarity index 100% rename from docker-compose/postgres-migrations/postgres-db.sql rename to docker-compose/datomic-postgres-migrations/postgres-db.sql diff --git a/docker-compose/postgres-migrations/postgres-table.sql b/docker-compose/datomic-postgres-migrations/postgres-table.sql similarity index 100% rename from docker-compose/postgres-migrations/postgres-table.sql rename to docker-compose/datomic-postgres-migrations/postgres-table.sql diff --git a/docker-compose/postgres-migrations/postgres-user.sql b/docker-compose/datomic-postgres-migrations/postgres-user.sql similarity index 100% rename from docker-compose/postgres-migrations/postgres-user.sql rename to docker-compose/datomic-postgres-migrations/postgres-user.sql diff --git a/docker-compose/docker-compose.yml b/docker-compose/docker-compose.yml index 8af008c..ce1213e 100644 --- a/docker-compose/docker-compose.yml +++ b/docker-compose/docker-compose.yml @@ -45,7 +45,7 @@ services: - PGPASSWORD=${POSTGRES_PASSWORD} image: postgres:16.1-bullseye volumes: - - "./postgres-migrations:/migrations" + - "./datomic-postgres-migrations:/migrations" command: > sh -c 'psql -h postgres -f /migrations/postgres-db.sql && psql -h postgres -d datomic -f /migrations/postgres-table.sql &&