Skip to content

[CHORE]: fix db and docker#394

Open
LLEGIT wants to merge 3 commits into
mainfrom
chore/NO-ISSUE/enforce-prisma-schema-before-migrations
Open

[CHORE]: fix db and docker#394
LLEGIT wants to merge 3 commits into
mainfrom
chore/NO-ISSUE/enforce-prisma-schema-before-migrations

Conversation

@LLEGIT
Copy link
Copy Markdown
Contributor

@LLEGIT LLEGIT commented May 27, 2026

Summary of Changes

2 Commits

  1. [CHORE]: Enforce Prisma schema generation before migrations
  2. [CHORE]: added pull policy for postgres image

Files Changed

  • v6y-libs/core-logic/package.json - Added pre-hooks to db:migrate, db:migrate:deploy, db:reset
  • docker-compose.yml - Added pull_policy: if_not_present for PostgreSQL and PSQL_DB_HOST overrides

Changes

  • Enforce Prisma schema generation before running any migrations
  • Automate PostgreSQL image pulling in docker-compose
  • Override database host for Docker services (v6y-database) while maintaining localhost for local development

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant