Generated Column Unique Constraint

The Drizzle docs on generated columns (https://orm.drizzle.team/docs/generated-columns), for Postgres, say "Cannot directly use in primary keys, foreign keys, or unique constraints" Does this mean that generated columns cannot have unique constraints generated in the SQL? The postgres docs (https://www.postgresql.org/docs/current/ddl-generated-columns.html) are linked, but I don't see any mention about unique constraints being unsupported there. Is this then a limitation of Drizzle, or is it a Postgres limitation after all?
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?