Column Unique name appears to be incorrect when spreading common fields to multiple tables
Came across this issue. Not sure if it's a big deal but i am spreading a common set of timestamp fields around to most of my tables and it looks like the unique name is incorrect. It looks like all my tables have this
// Pass this to all necessary tablesexport const createdAndUpdatedAtFields = { createdAt: timestamp('created_at').defaultNow().notNull(), // autogenerate when record created updatedAt: timestamp('updated_at'), // manually update deletedAt: timestamp('deleted_at'), // for soft deletes}
// Pass this to all necessary tablesexport const createdAndUpdatedAtFields = { createdAt: timestamp('created_at').defaultNow().notNull(), // autogenerate when record created updatedAt: timestamp('updated_at'), // manually update deletedAt: timestamp('deleted_at'), // for soft deletes}