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
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: