I have the following postgres column definition:
record_time TIMESTAMP WITHOUT TIME ZONE DEFAULT now()
How do I match it to a stain? Please note that I want to map the default value generated by the now() function
i.e:
def recordTimestamp: Rep[Date] = column[Date]("record_time", ...???...)
Should any additional definition go where it is ...???... ?
EDIT (1)
I do not want to use
column[Date]("record_time", O.Default(new Date(System.currentTimeMillis()))) // or some such applicative generation of the date column value
source share