You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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))
Where can i override parsing default value for dates and timestamps?
The text was updated successfully, but these errors were encountered:
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))
Where can i override parsing default value for dates and timestamps?
The text was updated successfully, but these errors were encountered: