Wappler Version: 5.3.1
Operating System: Windows 11
Server: Node.js
Database: Postgres
Expected behavior
When relating two tables with UUID primary keys using a reference field it should save without an error.
Actual behavior
A “Database Update Failed” message appears with the following error.
Error: alter table "users" add constraint "users_account_foreign" foreign key ("account") references "account" ("id") - foreign key constrain "Users_account_foreign" cannot be implemented.
How to reproduce
Create two tables. Each with UUID primary field, then add a reference field to one of the tables that references the other via the UUID field.
User table
Reference to Account table
Account table