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

Dropping PostgreSQL db added to README #430

Merged
merged 1 commit into from
Jun 15, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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