Exporting to PostgreSQL ignores Primary key

Hi, this used to work at the end of November, but I just found out that exporting SQL to PostgreSQL ignores the primary keyword.

DBML

 id UUID [primary key, default: `gen_random_uuid()`]

November 19, 2023

CREATE TABLE "locations" (
  "id" UUID PRIMARY KEY DEFAULT (gen_random_uuid()),

Today

CREATE TABLE "locations" (
  "id" UUID DEFAULT (gen_random_uuid()),

Hi @Joseph_Pollone

We just released an update that should fix the primary key problem. Please let us know if you still have any issues.

Thanks.

Thank you! I appreciate the work you do and really enjoy the product.

1 Like