Hello.
I have some table created with this code:
CREATE SEQUENCE test_id_seq;
CREATE TABLE TEST (
id bigint default nextval('test_id_seq'),
userId bigint NOT NULL,
createDate timestamp NOT NULL default current_date,
Primary Key (id),
Foreign Key (userId) references USERS (UserID)
);
during code generation the error raised :
[DEBUG] SlickException: Could not parse default value Some(('now'::text)::date) for column test.createdate of type java.sql.Timestamp, meta data: MColumn(MQName(public.test),createdate,93,timestamp,Some(29),Some(6),10,Some(false),None,Some(('now'::text)::date),29,6,Some(false),None,None,Some(false))
Can i override parsing default value for dates and timestamps?
Hello. I have some table created with this code: CREATE SEQUENCE test_id_seq; CREATE TABLE TEST ( id bigint default nextval('test_id_seq'), userId bigint NOT NULL, createDate timestamp NOT NULL default current_date, Primary Key (id),
);
during code generation the error raised :
[DEBUG] SlickException: Could not parse default value Some(('now'::text)::date) for column test.createdate of type java.sql.Timestamp, meta data: MColumn(MQName(public.test),createdate,93,timestamp,Some(29),Some(6),10,Some(false),None,Some(('now'::text)::date),29,6,Some(false),None,None,Some(false)) Can i override parsing default value for dates and timestamps?