compatibleType
Function: compatibleType()
compatibleType(
live,plan):boolean
Defined in: packages/sql/src/relational/sync.ts:95
Whether a live column can hold the planned column: the same type, a wider one, or text for uuid (engines
render uuid as text)
Parameters
live
ColumnType
the type the database holds
plan
ColumnType
the planned type
Returns
boolean
true when the column needs no change