You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When initializing the database with Postgres, the relation IX_Username_1 is already used on admin (username):
CREATETABLEadmin (id BIGINTNOT NULL, username VARCHAR(255) DEFAULT NULL, password VARCHAR(255) NOT NULL, super BOOLEAN DEFAULT 'false'NOT NULL, active BOOLEAN DEFAULT 'true'NOT NULL, created TIMESTAMP(0) WITHOUT TIME ZONENOT NULL, modified TIMESTAMP(0) WITHOUT TIME ZONE DEFAULT NULL, PRIMARY KEY(id));
CREATEUNIQUE INDEXIX_Username_1ON admin (username);
[...]
CREATEUNIQUE INDEXIX_Username_1ON mailbox (username);
This causes the following error: [42P07] ERROR: relation "ix_username_1" already exists.
Using orm:schema-tool:create --dump-sql and changing the relation to ix_username_2 solves the problem.
The text was updated successfully, but these errors were encountered:
When initializing the database with Postgres, the relation
IX_Username_1
is already used onadmin (username)
:This causes the following error:
[42P07] ERROR: relation "ix_username_1" already exists
.Using
orm:schema-tool:create --dump-sql
and changing the relation toix_username_2
solves the problem.The text was updated successfully, but these errors were encountered: