How am I supposed to put unique constraints on columns

Hey! I was looking at the docs for the implementation of unique constraints and index but I think either the docs are outdated or there seems to be a bug since I could neither find the function .unique() to chain in the schema nor could I import the unqiue method from "drizzle-orm/pg-core"
SCR-20230812-fbl.png
Was this page helpful?