diff --git a/drizzle-kit/src/serializer/mysqlSchema.ts b/drizzle-kit/src/serializer/mysqlSchema.ts index 367d89b46..5013c1c28 100644 --- a/drizzle-kit/src/serializer/mysqlSchema.ts +++ b/drizzle-kit/src/serializer/mysqlSchema.ts @@ -256,7 +256,7 @@ export const MySqlSquasher = { }, squashFK: (fk: ForeignKey) => { return `${fk.name};${fk.tableFrom};${fk.columnsFrom.join(',')};${fk.tableTo};${fk.columnsTo.join(',')};${ - fk.onUpdate ?? '' + fk.onUpdate ?? '' };${fk.onDelete ?? ''}`; }, unsquashFK: (input: string): ForeignKey => {