ColumnRole
Type Alias: ColumnRole
ColumnRole =
"field"|"reference"|"type"|"extra"|"owner"|"target"|"position"|"key"|"attributes"
Defined in: packages/sql-schema/src/plan.ts:28
What a column holds
field: a model field (scalar or JSON)reference: the key (or one key part) of a linked model (ModelLink,ModelParent)type: the__typeclass discriminatorextra: the JSON column keeping the properties the schema does not knowowner/target: the keys of a junction rowposition: the index of the link in its arraykey: the key of the link in its mapattributes: the JSON column holding the link attributes when they have no declared field