Scott
Scott
DTDrizzle Team
Created by Scott on 8/31/2023 in #help
sqlite encode
Like this?
birthday: integer('birthday', {'timestamp'}).$defaultFn(
() => sql`encode('%s', 'base64')`,
),
birthday: integer('birthday', {'timestamp'}).$defaultFn(
() => sql`encode('%s', 'base64')`,
),
doesn't seem to do the thing
14 replies