danvk/pg-to-ts

Feature request: Return table unique constraint

Opened this issue · 0 comments

If there is a unique constraint on a table, we should return it in the const for each table.

const table = {
tableName:
columns:
requiredForInsert:
primaryKey:
foreignKeys:
uniqueConstraint/s
} as const;