UpdatedAt column - Postgres

What's the best practice way to achieve a standard "updatedAt" column with the pg wrapper?

I've seen mysql has timestamp('updated_at').defaultNow().onUpdateNow().notNull()

However onUpdateNow() doesn't appear to be there for pg.
Was this page helpful?