Description
SQLSTATE[01000]: Warning: 1265 Data truncated for column 'terlaksana' at row 1 (SQL: insert into jadwal_operasis
(kode_booking
, no_bpjs
, tanggal_operasi
, jenis_tindakan
, poli_id
, terlaksana
) values (OP123456, 0001231234455, 2024-09-20 17:31:51, Bedah, 1, 0))
at vendor/laravel/framework/src/Illuminate/Database/Connection.php:760
756▕ // If an exception occurs when attempting to run a query, we'll format the error
757▕ // message to include the bindings with SQL, which will make this exception a
758▕ // lot more helpful to the developer instead of just the database's errors.
759▕ catch (Exception $e) {
➜ 760▕ throw new QueryException(
761▕ $query, $this->prepareBindings($bindings), $e
762▕ );
763▕ }
764▕ }
+7 vendor frames
8 database/seeders/DatabaseSeeder.php:37
Illuminate\Database\Query\Builder::insert()
+23 vendor frames
32 artisan:35