Closed Dri372 closed 10 months ago
Describe the bug You cannot insert an empty value in a date type nullable field.
To Reproduce For instance :
Try to insert a record without data in the date field "d1"
You get the error message : Invalid datetime format: 7 ERROR: invalid input syntax for type date: "" (SQL: insert into "test_1048s" ("i1", "d1", "created_at", "updated_at") values (1, , 2023-11-16 19:09:50, 2023-11-16 19:09:50) returning "id")
Describe the bug You cannot insert an empty value in a date type nullable field.
To Reproduce For instance :
Try to insert a record without data in the date field "d1"
You get the error message :
Invalid datetime format: 7 ERROR: invalid input syntax for type date: "" (SQL: insert into "test_1048s" ("i1", "d1", "created_at", "updated_at") values (1, , 2023-11-16 19:09:50, 2023-11-16 19:09:50) returning "id")