hi all
We cloned jmix-bookstore to use it as starting point to explore and find out whether our requirements could be fullfilled with jmix. It works out so far. Building a docker image through gradle bootbuildimage created an image to run in a docker container. But short after container start, it exits caused by the attempt to create the bookstore database. This is one of the error log entries:
Caused by: liquibase.exception.DatabaseException: ERROR: relation “bookstore_user” already exists [Failed SQL: (0) CREATE TABLE public.BOOKSTORE_USER (ID UUID NOT NULL, VERSION INTEGER NOT NULL, USERNAME VARCHAR(255) NOT NULL, FIRST_NAME VARCHAR(255), LAST_NAME VARCHAR(255), PASSWORD VARCHAR(255), EMAIL VARCHAR(255), ACTIVE BOOLEAN, TIME_ZONE_ID VARCHAR(255), CONSTRAINT “BOOKSTORE_USER_pkey” PRIMARY KEY (ID))]
The application is set to an external postgreSQL where the database already exists. So actually the main question is, how to communicate the application NOT to trying to create those bookstore tables?
Thx in advance!
best regards
Michael