Join Slack
Powered by
In sqldelight, how can you specify 'current_timest...
# squarelibraries
r
Richard Glen
04/03/2024, 6:30 AM
In sqldelight, how can you specify 'current_timestamp' as default value to a column? Can you do this in migration files?
h
hfhbd
04/03/2024, 8:56 AM
It’s just SQL ddl, so yes you can do it during creation or migration.
r
Richard Glen
04/03/2024, 11:55 AM
Oh right. T'was telling an error. I just typed wrongly: current_timestamp instead of CURRENT_TIMESTAMP. Thanks
24
Views
Open in Slack
Previous
Next