2023-10-11 21:49:35 [W] mysql INSERT INTO binding (aid, bid, pid, platform) VALUES (1, 1, NULL, 'kook')
2023-10-11 21:49:35 [W] session 帮助
ER_BAD_NULL_ERROR: Column 'pid' cannot be null
at _MySQLDriver.query (D:\personal\youkey-app\node_modules\@minatojs\driver-mysql\src\index.ts:361:19)
at _MySQLDriver.create (D:\personal\youkey-app\node_modules\@minatojs\driver-mysql\src\index.ts:476:31)
at _Executable.execute (D:\personal\youkey-app\node_modules\@minatojs\core\src\selection.ts:98:40)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at _DatabaseService.createUser (D:\personal\youkey-app\node_modules\@koishijs\core\src\database.ts:144:5)
at _Session.observeUser (D:\personal\youkey-app\node_modules\@koishijs\core\src\session.ts:312:18)
at _Processor.attach (D:\personal\youkey-app\node_modules\@koishijs\core\src\middleware.ts:230:20)
at next (D:\personal\youkey-app\node_modules\@koishijs\core\src\middleware.ts:267:16)
at _Processor._handleMessage (D:\personal\youkey-app\node_modules\@koishijs\core\src\middleware.ts:278:22)
Describe the bug
2023-10-11 21:49:35 [W] mysql INSERT INTO
binding
(aid
,bid
,pid
,platform
) VALUES (1, 1, NULL, 'kook') 2023-10-11 21:49:35 [W] session 帮助 ER_BAD_NULL_ERROR: Column 'pid' cannot be null at _MySQLDriver.query (D:\personal\youkey-app\node_modules\@minatojs\driver-mysql\src\index.ts:361:19) at _MySQLDriver.create (D:\personal\youkey-app\node_modules\@minatojs\driver-mysql\src\index.ts:476:31) at _Executable.execute (D:\personal\youkey-app\node_modules\@minatojs\core\src\selection.ts:98:40) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at _DatabaseService.createUser (D:\personal\youkey-app\node_modules\@koishijs\core\src\database.ts:144:5) at _Session.observeUser (D:\personal\youkey-app\node_modules\@koishijs\core\src\session.ts:312:18) at _Processor.attach (D:\personal\youkey-app\node_modules\@koishijs\core\src\middleware.ts:230:20) at next (D:\personal\youkey-app\node_modules\@koishijs\core\src\middleware.ts:267:16) at _Processor._handleMessage (D:\personal\youkey-app\node_modules\@koishijs\core\src\middleware.ts:278:22)Steps to reproduce
rt
Expected behavior
rt
Screenshots
No response
Versions
Additional context
No response