Skip to content
This repository has been archived by the owner on Jul 23, 2024. It is now read-only.

Commit

Permalink
Dropping postgres db added to README
Browse files Browse the repository at this point in the history
Signed-off-by: Moti Asayag <masayag@redhat.com>
  • Loading branch information
masayag committed Jun 15, 2023
1 parent 6122832 commit 377c2f1
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion workflow-service/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,13 @@ export DATASOURCE_DRIVER="org.postgresql.Driver"
export DATASOURCE_USERNAME="parodos"
export DATASOURCE_PASSWORD="parodos"
```

Sometimes, changes are made to the database schema. In order to apply these changes, you need to drop and recreate the database.
Dropping and recreating the database **(only in development environment)**:
```sql
drop DATABASE workflow_service;CREATE DATABASE workflow_service;
CREATE USER parodos WITH PASSWORD 'parodos';
GRANT ALL PRIVILEGES ON DATABASE workflow_service TO parodos;
```
### How to configure my workflow configuration class in different package?
the environment variable for workflow configuration in different package:
* CONFIGURATION_PACKAGE
Expand Down

0 comments on commit 377c2f1

Please sign in to comment.