$defaultFn() for an ISO timestamp in a text() field set as NULL
Schema:
Im not sure why but when a new user is created, Turso will leave the both createdAt and updatedAt columns as "NULL" although I've set my default function as above.

1 Reply
Actually I've just noticed that none of my default() functions work properly
profile pictures: if google oauth doesnt return a response then it will leave the cell NULL even though the default is set
image: text('image').default('https://i.imgur.com/[...].png'),