cuando quiero usar el codigo con el LiteRecord$class->create($dataSave);
tengo un error:
{"error":"SQLSTATE[23502]: Not null violation: 7 ERROR: null value in column \"id\" violates not-null constraint\nDETAIL: Failing row contains (null, 01, Amazonas, 01, Chachapoyas, 11, Levanto, 2020-05-24 00:58:54, null)."}
adjunto imagen de la tabla.
el error ocurre porque LiteRecord le pone NULL a la ID que es autoincrement
Php: 7.4-fpm KumbiaPHP: 1.1.1 pgsql: postgres:11.5-alpine servidor: nginx
cuando quiero usar el codigo con el LiteRecord
$class->create($dataSave);
tengo un error:{"error":"SQLSTATE[23502]: Not null violation: 7 ERROR: null value in column \"id\" violates not-null constraint\nDETAIL: Failing row contains (null, 01, Amazonas, 01, Chachapoyas, 11, Levanto, 2020-05-24 00:58:54, null)."}
adjunto imagen de la tabla. el error ocurre porque LiteRecord le pone NULL a la ID que es autoincrement