-
-
Notifications
You must be signed in to change notification settings - Fork 246
Closed
Labels
bugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or request
Description
$user->load('wallets.transfers')Illuminate/Database/QueryException with message 'SQLSTATE[HY000]: General error: 1364 Field 'holder_type' doesn't have a default value (SQL: insert into `wallets` (`updated_at`, `created_at`) values (2019-08-03 14:21:07, 2019-08-03 14:21:07))'php artisan ide-helper:modelsException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'holder_id' cannot be null (SQL: insert into `wallets` (`holder_id`, `holder_type`, `name`, `slug`, `balance`, `updated_at`, `created_at`) values (?, App\User, Cny, cny, 0, 2019-08-03 14:21:57, 2019-08-03 14:21:57))
Could not analyze class App\User.
Exception: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'holder_id' cannot be null (SQL: insert into `wallets` (`holder_id`, `holder_type`, `name`, `slug`, `balance`, `updated_at`, `created_at`) values (?, App\Models\PayOrder, Cny, cny, 0, 2019-08-03 14:21:57, 2019-08-03 14:21:57))
Could not analyze class App\Models\Product.Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or request
