From a6cce49d320553eaacf1f4b161f169711b2f809e Mon Sep 17 00:00:00 2001 From: Julia Branke Date: Fri, 10 May 2024 15:30:39 +0100 Subject: [PATCH] Testing prima migrations section in README --- packages/dev-environment/README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/packages/dev-environment/README.md b/packages/dev-environment/README.md index 59e4db3ea..5a02f7dbb 100644 --- a/packages/dev-environment/README.md +++ b/packages/dev-environment/README.md @@ -49,6 +49,15 @@ It includes: > **Note** > You can also use other Postgres clients, such as `psql` to query the data, or even your IDE! +## Testing prima migrations +To test prisma migrations you can run the following script: + + ```sh + ./packages/dev-environment/script/start-prisma-migrate-test + ``` +This will start two containers. Checking the logs of the container running the image +dev_environment-prisma-migrate will show which migrations habe been applied. + ## RepoCop To develop locally once the tables have been populated follow the steps in the repocop [README](../repocop/README.md)