Make demo data input file usable in service development environment

Description

When we started using Flyway for migration management, the file generated by demo data script has slightly changed. It does work while providing it as a parameter for flyway, but does not work for development environment, which has a separate command for it.

docker exec -i openlmisrequisition_db_1 psql -Upostgres open_lmis < ./demo-data/../build/demo-data/afterMigrate.sql

The command above does not work anymore, as the file now also includes some header with additional logics before inserting the data, which prevents it from being executed locally (one must first remove those commands, and leave only inserts, to put the data into the database).

This ticket is to make it functional for local service development environment, either by adjusting the input file, or by changing the insertion command.
READMEs and all other references should also be updated.

Assignee

Paweł Gesek

Reporter

Paweł Nawrocki

Labels

None

Story Points

2

Time tracking

0m

Time remaining

1h

Sprint

None

Fix versions

Priority

Minor
Configure