import { kysely } from "https://dotland.deno.dev/x/kysely_postgrs_js_dialect@v0.27.3/deps.ts";
const { ColumnDefinitionBuilder } = kysely;
Adds an on update
constraint for the foreign key column.
Examples
col.references('person.id').onUpdate('cascade')
Parameters
onUpdate: OnModifyForeignAction