Skip to main content

Interface: FieldChange

One field that differs, with its value before and after.

Properties​

after​

after: unknown;

before​

before: unknown;

field​

field: string;

'type' | 'pk' | 'notNull' | 'unique' | 'increment' | 'default' | 'note' | 'checks' (columns), 'name' | 'schema' | 'alias' | 'note' | 'headerColor' | 'group' (tables), 'relation' | 'name' | 'onDelete' | 'onUpdate' | 'color' | 'inactive' | 'note' (refs), 'color' | 'note' | 'tables' (groups), 'content' | 'color' (notes), 'name' | 'note' | 'databaseType' | 'settings.<key>' (project).