L-Mario564 / drizzle-dbml-generator

Generate DBML markup from your schema defined with Drizzle ORM.
MIT License
161 stars 8 forks source link

Feature Request: support doc metadata in drizzle schema.ts #16

Open grokwich opened 4 months ago

grokwich commented 4 months ago

There are statements/objects in the dbml dsl that support metadata, notes, doc, comments, etc...

Since this tool generates the DBML from a drizzle schema, the only practical way to add DBML metadata doc is to allow the drizzle schema to be the system-of-record for such doc.

Would love if drizzle-dbml-generator could support a well-know way to add doc to drizzle schema that would be carried forward to the generated DBML.

Especially interested in allowing markdown doc wherever supported by DBML (for example, Project Notes, Table Notes, Column Notes, etc....).

Thx.