NodeJS migration defaultTo() issue

Wappler 5 beta 8
NodeJS + PostgreSQL

When removing the default value of a database column, generated migration on knex.down is like:

defaultTo()

This errors, so here’s the fix I found:

defaultTo(null)
Community Page
Last updated: