SQLSTATE[22007]: Invalid datetime-format: 1366 Incorrect integer value: 'column_name' in Laravel

Larael Mehrere Daten Einfügen Fehler

SQLSTATE[22007]: Invalid datetime-format: 1366 Incorrect integer value: "for column 'unit_id' in Zeile 2 (SQL: insert into product_prices (created_at, product_id, unit_id, updated_at) Werte (2016-12-06 06:56:01, 27, 1,2016-12-06 06:56:01), (2016-12-06 06:56:01,27, , 2016-12-06 06:56:01))

Aber meine unit_id Feld in nullable();
Bitte mir jemand helfen
Hier column_name=unit_id

fügen Sie Ihrem php-code.
Fügen Sie Ihre SQL-Struktur, ich hatte ein ähnliches problem, das ich erstellt habe das Titel-Feld als int in der db, my bad

InformationsquelleAutor Al-Amin | 2016-12-06

Schreibe einen Kommentar