NodeJS migration, relation cascade is set even if left on default "No Action"

Wappler 5 beta 8
NodeJS + PostgreSQL

When creating a new column relation (e.g.: book_id), On Update and On Delete options are left untouched as “No Action”. However, after the migration is run, we can see they’re set to Cascade by default (even though the migration file doesn’t explicitly tell so)

The problem is fixed after I change the On Update and On Delete options to “No Action” - a new migration is generated with explicit NO ACTION

Community Page
Last updated: