-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Labels
Description
Describe what you want
It would be great to add a comment on Tables, Columns .... So that you can describe the tables, columns in the drizzle-orm model and it's also in the database, e.g. a database admin also needs this info in the db.
Maybe like this:
export const DbRole = pgTable("role", {
name: varchar("name", { length: 256 }).notNull().comment("The name of role, ....."),
description: varchar("description", { length: 256, }).comment("The description, ....."),
isActive: boolean("is_active").default(true).notNull().comment(" ....."),
allowSignup: boolean("allow_signup").default(false).comment("....."),
allowExternal: boolean("allow_external").default(false.comment("....."),
}).comment("The role .....");
MatanYadaev, scottmcpherson, berenddeboer, lefnire, hdwatts and 107 morearb85, cayter, t1mmen, MatanYadaev, pepijnverburg and 46 more