Bad CREATE TABLE order in postgres create-schemas.sql

Issue #8 resolved
Richard Körber created an issue

I created a new Postgresql database instance using the queries in https://bitbucket.org/wisemapping/wisemapping-open-source/src/develop/config/database/postgres/create-schemas.sql .

However, the CREATE TABLE R_LABEL_MINDMAP statement has a foreign reference to the MINDMAP table, which has not been created yet.

If the CREATE TABLE R_LABEL_MINDMAP and CREATE TABLE MINDMAP are swapped, it's working. 🙂

Comments (1)

  1. Log in to comment