| 22:22:05.800 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
| 22:22:05.800 | trace | yii\base\Module::getModule | Loading module: debug |
| 22:22:05.801 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
| 22:22:05.801 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
| 22:22:05.801 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
| 22:22:05.801 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 22:22:05.802 | info | time tracing start | 1781792525802397952 |
| 22:22:05.802 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
| 22:22:05.802 | trace | yii\web\Application::handleRequest | Route requested: 'v2/task/save-new-group' |
| 22:22:05.802 | trace | yii\base\Module::getModule | Loading module: v2 |
| 22:22:05.803 | info | yii\web\Session::open | Session started |
| 22:22:05.805 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
| 22:22:05.805 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "access_token"='R8ScrIY1ab3sgHgv8KlMKFukwMtD6QYC' |
| 22:22:05.806 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 22:22:05.807 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 22:22:05.807 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 22:22:05.808 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 22:22:05.808 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
| 22:22:05.809 | trace | yii\base\Controller::runAction | Route to run: v2/task/save-new-group |
| 22:22:05.809 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\v2\controllers\TaskController::actionSaveNewGroup() |
| 22:22:05.810 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 22:22:05.810 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 22:22:05.811 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'taskGroupHeads' in 'app\models\TaskGroups'. |
| 22:22:05.811 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'taskGroupUsers' in 'app\models\TaskGroups'. |
| 22:22:05.811 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='3450') |
| 22:22:05.812 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"='4126') |
| 22:22:05.813 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000) |
| 22:22:05.813 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000) |
| 22:22:05.814 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_task_groups" ("client_id", "description", "progress", "project_id", "situation", "start_at", "target_completed_at", "title", "created_by", "head_of") VALUES (3450, '', 0, 4126, '是山山水水', NULL, NULL, '测试删除', 1000, 1000) RETURNING "id" |
| 22:22:05.817 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 22:22:05.817 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 22:22:05.818 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\TaskGroups', 212, 'a:17:{s:2:"id";i:212;s:5:"title";s:12:"测试删除";s:11:"description";s:0:"";s:9:"client_id";s:4:"3450";s:7:"head_of";i:1000;s:6:"status";N;s:19:"target_completed_at";N;s:12:"completed_at";N;s:10:"created_by";i:1000;s:10:"created_at";N;s:10:"updated_at";N;s:9:"situation";s:15:"是山山水水";s:8:"start_at";N;s:10:"project_id";s:4:"4126";s:20:"complete_description";N;s:8:"progress";i:0;s:6:"weight";N;}', '', 1000, '117.176.187.26') |
| 22:22:05.820 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_task_group_user_relationships" WHERE "task_group_id"=212 |
| 22:22:05.820 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 22:22:05.820 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 22:22:05.821 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_task_group_user_relationships" ("task_group_id", "user_id") VALUES (212, 1000) |
| 22:22:05.822 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_task_group_head_of_relationships" WHERE "task_group_id"=212 |
| 22:22:05.823 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 22:22:05.823 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 22:22:05.823 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_task_group_head_of_relationships" ("task_group_id", "user_id") VALUES (212, 1000) |
| 22:22:05.825 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_task_groups" WHERE "id"=212 |
| 22:22:05.825 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
| 22:22:05.826 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 22:22:05.826 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 22:22:05.827 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "created_by", "created_at", "new_value", "old_value", "description") VALUES (1, 'create', 212, 102, 1000, '2026-06-18 22:22:05', '{"id":212,"title":"\u6d4b\u8bd5\u5220\u9664","description":"","client_id":3450,"head_of":1000,"status":0,"target_completed_at":null,"completed_at":null,"created_by":1000,"created_at":"2026-06-18 22:22:05","updated_at":"2026-06-18 22:22:05","situation":"\u662f\u5c71\u5c71\u6c34\u6c34","start_at":null,"project_id":4126,"complete_description":null,"progress":0,"weight":0}', '{"id":212,"title":"\u6d4b\u8bd5\u5220\u9664","description":"","client_id":3450,"head_of":1000,"status":0,"target_completed_at":null,"completed_at":null,"created_by":1000,"created_at":"2026-06-18 22:22:05","updated_at":"2026-06-18 22:22:05","situation":"\u662f\u5c71\u5c71\u6c34\u6c34","start_at":null,"project_id":4126,"complete_description":null,"progress":0,"weight":0}', '{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"\u9879\u76ee","d4":[]}') RETURNING "id" |
| 22:22:05.829 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ObjectChangeLogs', 642285, 'a:13:{s:2:"id";i:642285;s:9:"object_id";i:212;s:11:"object_type";i:102;s:9:"target_id";N;s:18:"target_object_type";N;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:371:"{"id":212,"title":"\u6d4b\u8bd5\u5220\u9664","description":"","client_id":3450,"head_of":1000,"status":0,"target_completed_at":null,"completed_at":null,"created_by":1000,"created_at":"2026-06-18 22:22:05","updated_at":"2026-06-18 22:22:05","situation":"\u662f\u5c71\u5c71\u6c34\u6c34","start_at":null,"project_id":4126,"complete_description":null,"progress":0,"weight":0}";s:9:"new_value";s:371:"{"id":212,"title":"\u6d4b\u8bd5\u5220\u9664","description":"","client_id":3450,"head_of":1000,"status":0,"target_completed_at":null,"completed_at":null,"created_by":1000,"created_at":"2026-06-18 22:22:05","updated_at":"2026-06-18 22:22:05","situation":"\u662f\u5c71\u5c71\u6c34\u6c34","start_at":null,"project_id":4126,"complete_description":null,"progress":0,"weight":0}";s:11:"description";s:81:"{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"\u9879\u76ee","d4":[]}";s:10:"created_by";i:1000;s:10:"created_at";s:19:"2026-06-18 22:22:05";s:9:"is_delete";N;}', '', 1000, '117.176.187.26') |
| 22:22:05.830 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 22:22:05.830 | info | yii\db\Command::query | SELECT
d.nspname AS table_schema,
c.relname AS table_name,
a.attname AS column_name,
t.typname AS data_type,
a.attlen AS character_maximum_length,
pg_catalog.col_description(c.oid, a.attnum) AS column_comment,
a.atttypmod AS modifier,
a.attnotnull = false AS is_nullable,
CAST(pg_get_expr(ad.adbin, ad.adrelid) AS varchar) AS column_default,
coalesce(pg_get_expr(ad.adbin, ad.adrelid) ~ 'nextval',false) AS is_autoinc,
array_to_string((select array_agg(enumlabel) from pg_enum where enumtypid=a.atttypid)::varchar[],',') as enum_values,
CASE atttypid
WHEN 21 /*int2*/ THEN 16
WHEN 23 /*int4*/ THEN 32
WHEN 20 /*int8*/ THEN 64
WHEN 1700 /*numeric*/ THEN
CASE WHEN atttypmod = -1
THEN null
ELSE ((atttypmod - 4) >> 16) & 65535
END
WHEN 700 /*float4*/ THEN 24 /*FLT_MANT_DIG*/
WHEN 701 /*float8*/ THEN 53 /*DBL_MANT_DIG*/
ELSE null
END AS numeric_precision,
CASE
WHEN atttypid IN (21, 23, 20) THEN 0
WHEN atttypid IN (1700) THEN
CASE
WHEN atttypmod = -1 THEN null
ELSE (atttypmod - 4) & 65535
END
ELSE null
END AS numeric_scale,
CAST(
information_schema._pg_char_max_length(information_schema._pg_truetypid(a, t), information_schema._pg_truetypmod(a, t))
AS numeric
) AS size,
a.attnum = any (ct.conkey) as is_pkey
FROM
pg_class c
LEFT JOIN pg_attribute a ON a.attrelid = c.oid
LEFT JOIN pg_attrdef ad ON a.attrelid = ad.adrelid AND a.attnum = ad.adnum
LEFT JOIN pg_type t ON a.atttypid = t.oid
LEFT JOIN pg_namespace d ON d.oid = c.relnamespace
LEFT join pg_constraint ct on ct.conrelid=c.oid and ct.contype='p'
WHERE
a.attnum > 0 and t.typname != ''
and c.relname = 'tbl_clients'
and d.nspname = 'a57be577deb434'
ORDER BY
a.attnum; |
| 22:22:05.840 | info | yii\db\Command::query | select
ct.conname as constraint_name,
a.attname as column_name,
fc.relname as foreign_table_name,
fns.nspname as foreign_table_schema,
fa.attname as foreign_column_name
from
(SELECT ct.conname, ct.conrelid, ct.confrelid, ct.conkey, ct.contype, ct.confkey, generate_subscripts(ct.conkey, 1) AS s
FROM pg_constraint ct
) AS ct
inner join pg_class c on c.oid=ct.conrelid
inner join pg_namespace ns on c.relnamespace=ns.oid
inner join pg_attribute a on a.attrelid=ct.conrelid and a.attnum = ct.conkey[ct.s]
left join pg_class fc on fc.oid=ct.confrelid
left join pg_namespace fns on fc.relnamespace=fns.oid
left join pg_attribute fa on fa.attrelid=ct.confrelid and fa.attnum = ct.confkey[ct.s]
where
ct.contype='f'
and c.relname='tbl_clients'
and ns.nspname='a57be577deb434'
order by
fns.nspname, fc.relname, a.attnum |
| 22:22:05.884 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 22:22:05.885 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
| 22:22:05.885 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=3450 |
| 22:22:05.896 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_clients" SET "updated_at"='now()' WHERE "id"=3450 |
| 22:22:05.903 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_client_am_change_logs" WHERE ("client_id"=3450) AND ("sales_rep" IS NULL) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1 |
| 22:22:06.982 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 22:22:06.983 | info | yii\db\Command::query | SELECT
d.nspname AS table_schema,
c.relname AS table_name,
a.attname AS column_name,
t.typname AS data_type,
a.attlen AS character_maximum_length,
pg_catalog.col_description(c.oid, a.attnum) AS column_comment,
a.atttypmod AS modifier,
a.attnotnull = false AS is_nullable,
CAST(pg_get_expr(ad.adbin, ad.adrelid) AS varchar) AS column_default,
coalesce(pg_get_expr(ad.adbin, ad.adrelid) ~ 'nextval',false) AS is_autoinc,
array_to_string((select array_agg(enumlabel) from pg_enum where enumtypid=a.atttypid)::varchar[],',') as enum_values,
CASE atttypid
WHEN 21 /*int2*/ THEN 16
WHEN 23 /*int4*/ THEN 32
WHEN 20 /*int8*/ THEN 64
WHEN 1700 /*numeric*/ THEN
CASE WHEN atttypmod = -1
THEN null
ELSE ((atttypmod - 4) >> 16) & 65535
END
WHEN 700 /*float4*/ THEN 24 /*FLT_MANT_DIG*/
WHEN 701 /*float8*/ THEN 53 /*DBL_MANT_DIG*/
ELSE null
END AS numeric_precision,
CASE
WHEN atttypid IN (21, 23, 20) THEN 0
WHEN atttypid IN (1700) THEN
CASE
WHEN atttypmod = -1 THEN null
ELSE (atttypmod - 4) & 65535
END
ELSE null
END AS numeric_scale,
CAST(
information_schema._pg_char_max_length(information_schema._pg_truetypid(a, t), information_schema._pg_truetypmod(a, t))
AS numeric
) AS size,
a.attnum = any (ct.conkey) as is_pkey
FROM
pg_class c
LEFT JOIN pg_attribute a ON a.attrelid = c.oid
LEFT JOIN pg_attrdef ad ON a.attrelid = ad.adrelid AND a.attnum = ad.adnum
LEFT JOIN pg_type t ON a.atttypid = t.oid
LEFT JOIN pg_namespace d ON d.oid = c.relnamespace
LEFT join pg_constraint ct on ct.conrelid=c.oid and ct.contype='p'
WHERE
a.attnum > 0 and t.typname != ''
and c.relname = 'tbl_client_am_change_logs'
and d.nspname = 'a57be577deb434'
ORDER BY
a.attnum; |
| 22:22:06.987 | info | yii\db\Command::query | select
ct.conname as constraint_name,
a.attname as column_name,
fc.relname as foreign_table_name,
fns.nspname as foreign_table_schema,
fa.attname as foreign_column_name
from
(SELECT ct.conname, ct.conrelid, ct.confrelid, ct.conkey, ct.contype, ct.confkey, generate_subscripts(ct.conkey, 1) AS s
FROM pg_constraint ct
) AS ct
inner join pg_class c on c.oid=ct.conrelid
inner join pg_namespace ns on c.relnamespace=ns.oid
inner join pg_attribute a on a.attrelid=ct.conrelid and a.attnum = ct.conkey[ct.s]
left join pg_class fc on fc.oid=ct.confrelid
left join pg_namespace fns on fc.relnamespace=fns.oid
left join pg_attribute fa on fa.attrelid=ct.confrelid and fa.attnum = ct.confkey[ct.s]
where
ct.contype='f'
and c.relname='tbl_client_am_change_logs'
and ns.nspname='a57be577deb434'
order by
fns.nspname, fc.relname, a.attnum |
| 22:22:07.008 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 22:22:07.010 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
| 22:22:07.011 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_client_am_change_logs" ("client_id", "sales_rep", "start_from", "end_at") VALUES (3450, 5295, 'now()', NULL) RETURNING "id" |
| 22:22:07.014 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ClientAmChangeLogs', 199992, 'a:5:{s:2:"id";i:199992;s:9:"client_id";i:3450;s:9:"sales_rep";i:5295;s:10:"start_from";s:5:"now()";s:6:"end_at";N;}', '', 1000, '117.176.187.26') |
| 22:22:07.016 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Clients', 3450, 'a:0:{}', '', 1000, '117.176.187.26') |
| 22:22:07.017 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
| 22:22:07.018 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "target_id", "target_object_type", "created_by", "new_value", "old_value", "description") VALUES (1, 'create', 3450, 10, 212, 102, 1000, '[212]', '[212]', '{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"\u9879\u76ee","d4":["\u6d4b\u8bd5\u5220\u9664"]}') RETURNING "id" |
| 22:22:07.019 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ObjectChangeLogs', 642286, 'a:13:{s:2:"id";i:642286;s:9:"object_id";i:3450;s:11:"object_type";i:10;s:9:"target_id";i:212;s:18:"target_object_type";i:102;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:5:"[212]";s:9:"new_value";s:5:"[212]";s:11:"description";s:107:"{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"\u9879\u76ee","d4":["\u6d4b\u8bd5\u5220\u9664"]}";s:10:"created_by";i:1000;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1000, '117.176.187.26') |
| 22:22:07.021 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 22:22:07.021 | info | yii\db\Command::query | SELECT
d.nspname AS table_schema,
c.relname AS table_name,
a.attname AS column_name,
t.typname AS data_type,
a.attlen AS character_maximum_length,
pg_catalog.col_description(c.oid, a.attnum) AS column_comment,
a.atttypmod AS modifier,
a.attnotnull = false AS is_nullable,
CAST(pg_get_expr(ad.adbin, ad.adrelid) AS varchar) AS column_default,
coalesce(pg_get_expr(ad.adbin, ad.adrelid) ~ 'nextval',false) AS is_autoinc,
array_to_string((select array_agg(enumlabel) from pg_enum where enumtypid=a.atttypid)::varchar[],',') as enum_values,
CASE atttypid
WHEN 21 /*int2*/ THEN 16
WHEN 23 /*int4*/ THEN 32
WHEN 20 /*int8*/ THEN 64
WHEN 1700 /*numeric*/ THEN
CASE WHEN atttypmod = -1
THEN null
ELSE ((atttypmod - 4) >> 16) & 65535
END
WHEN 700 /*float4*/ THEN 24 /*FLT_MANT_DIG*/
WHEN 701 /*float8*/ THEN 53 /*DBL_MANT_DIG*/
ELSE null
END AS numeric_precision,
CASE
WHEN atttypid IN (21, 23, 20) THEN 0
WHEN atttypid IN (1700) THEN
CASE
WHEN atttypmod = -1 THEN null
ELSE (atttypmod - 4) & 65535
END
ELSE null
END AS numeric_scale,
CAST(
information_schema._pg_char_max_length(information_schema._pg_truetypid(a, t), information_schema._pg_truetypmod(a, t))
AS numeric
) AS size,
a.attnum = any (ct.conkey) as is_pkey
FROM
pg_class c
LEFT JOIN pg_attribute a ON a.attrelid = c.oid
LEFT JOIN pg_attrdef ad ON a.attrelid = ad.adrelid AND a.attnum = ad.adnum
LEFT JOIN pg_type t ON a.atttypid = t.oid
LEFT JOIN pg_namespace d ON d.oid = c.relnamespace
LEFT join pg_constraint ct on ct.conrelid=c.oid and ct.contype='p'
WHERE
a.attnum > 0 and t.typname != ''
and c.relname = 'tbl_projects'
and d.nspname = 'a57be577deb434'
ORDER BY
a.attnum; |
| 22:22:07.026 | info | yii\db\Command::query | select
ct.conname as constraint_name,
a.attname as column_name,
fc.relname as foreign_table_name,
fns.nspname as foreign_table_schema,
fa.attname as foreign_column_name
from
(SELECT ct.conname, ct.conrelid, ct.confrelid, ct.conkey, ct.contype, ct.confkey, generate_subscripts(ct.conkey, 1) AS s
FROM pg_constraint ct
) AS ct
inner join pg_class c on c.oid=ct.conrelid
inner join pg_namespace ns on c.relnamespace=ns.oid
inner join pg_attribute a on a.attrelid=ct.conrelid and a.attnum = ct.conkey[ct.s]
left join pg_class fc on fc.oid=ct.confrelid
left join pg_namespace fns on fc.relnamespace=fns.oid
left join pg_attribute fa on fa.attrelid=ct.confrelid and fa.attnum = ct.confkey[ct.s]
where
ct.contype='f'
and c.relname='tbl_projects'
and ns.nspname='a57be577deb434'
order by
fns.nspname, fc.relname, a.attnum |
| 22:22:07.056 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 22:22:07.057 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
| 22:22:07.057 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=4126 |
| 22:22:07.061 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_projects" SET "updated_at"='now()' WHERE "id"=4126 |
| 22:22:07.063 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_change_logs" WHERE ("project_id"=4126) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1 |
| 22:22:07.067 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 22:22:07.068 | info | yii\db\Command::query | SELECT
d.nspname AS table_schema,
c.relname AS table_name,
a.attname AS column_name,
t.typname AS data_type,
a.attlen AS character_maximum_length,
pg_catalog.col_description(c.oid, a.attnum) AS column_comment,
a.atttypmod AS modifier,
a.attnotnull = false AS is_nullable,
CAST(pg_get_expr(ad.adbin, ad.adrelid) AS varchar) AS column_default,
coalesce(pg_get_expr(ad.adbin, ad.adrelid) ~ 'nextval',false) AS is_autoinc,
array_to_string((select array_agg(enumlabel) from pg_enum where enumtypid=a.atttypid)::varchar[],',') as enum_values,
CASE atttypid
WHEN 21 /*int2*/ THEN 16
WHEN 23 /*int4*/ THEN 32
WHEN 20 /*int8*/ THEN 64
WHEN 1700 /*numeric*/ THEN
CASE WHEN atttypmod = -1
THEN null
ELSE ((atttypmod - 4) >> 16) & 65535
END
WHEN 700 /*float4*/ THEN 24 /*FLT_MANT_DIG*/
WHEN 701 /*float8*/ THEN 53 /*DBL_MANT_DIG*/
ELSE null
END AS numeric_precision,
CASE
WHEN atttypid IN (21, 23, 20) THEN 0
WHEN atttypid IN (1700) THEN
CASE
WHEN atttypmod = -1 THEN null
ELSE (atttypmod - 4) & 65535
END
ELSE null
END AS numeric_scale,
CAST(
information_schema._pg_char_max_length(information_schema._pg_truetypid(a, t), information_schema._pg_truetypmod(a, t))
AS numeric
) AS size,
a.attnum = any (ct.conkey) as is_pkey
FROM
pg_class c
LEFT JOIN pg_attribute a ON a.attrelid = c.oid
LEFT JOIN pg_attrdef ad ON a.attrelid = ad.adrelid AND a.attnum = ad.adnum
LEFT JOIN pg_type t ON a.atttypid = t.oid
LEFT JOIN pg_namespace d ON d.oid = c.relnamespace
LEFT join pg_constraint ct on ct.conrelid=c.oid and ct.contype='p'
WHERE
a.attnum > 0 and t.typname != ''
and c.relname = 'tbl_project_change_logs'
and d.nspname = 'a57be577deb434'
ORDER BY
a.attnum; |
| 22:22:07.072 | info | yii\db\Command::query | select
ct.conname as constraint_name,
a.attname as column_name,
fc.relname as foreign_table_name,
fns.nspname as foreign_table_schema,
fa.attname as foreign_column_name
from
(SELECT ct.conname, ct.conrelid, ct.confrelid, ct.conkey, ct.contype, ct.confkey, generate_subscripts(ct.conkey, 1) AS s
FROM pg_constraint ct
) AS ct
inner join pg_class c on c.oid=ct.conrelid
inner join pg_namespace ns on c.relnamespace=ns.oid
inner join pg_attribute a on a.attrelid=ct.conrelid and a.attnum = ct.conkey[ct.s]
left join pg_class fc on fc.oid=ct.confrelid
left join pg_namespace fns on fc.relnamespace=fns.oid
left join pg_attribute fa on fa.attrelid=ct.confrelid and fa.attnum = ct.confkey[ct.s]
where
ct.contype='f'
and c.relname='tbl_project_change_logs'
and ns.nspname='a57be577deb434'
order by
fns.nspname, fc.relname, a.attnum |
| 22:22:07.090 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 22:22:07.090 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
| 22:22:07.091 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Projects', 4126, 'a:0:{}', '', 1000, '117.176.187.26') |
| 22:22:07.093 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=3450 |
| 22:22:07.094 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
| 22:22:07.094 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "target_id", "target_object_type", "created_by", "new_value", "old_value", "description") VALUES (1, 'create', 4126, 1, 212, 102, 1000, '[212]', '[212]', '{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"\u9879\u76ee","d4":["\u6d4b\u8bd5\u5220\u9664"]}') RETURNING "id" |
| 22:22:07.096 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ObjectChangeLogs', 642287, 'a:13:{s:2:"id";i:642287;s:9:"object_id";i:4126;s:11:"object_type";i:1;s:9:"target_id";i:212;s:18:"target_object_type";i:102;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:5:"[212]";s:9:"new_value";s:5:"[212]";s:11:"description";s:107:"{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"\u9879\u76ee","d4":["\u6d4b\u8bd5\u5220\u9664"]}";s:10:"created_by";i:1000;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1000, '117.176.187.26') |
| 22:22:07.098 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 22:22:07.098 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 22:22:07.098 | info | yii\db\Command::query | INSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "version_code", "url", "request", "response", "php_error", "time", "duration") VALUES (200, 'a57be577deb434', 1000, 2, 1160, 'v2/task/save-new-group', '{"TaskGroups":{"client_id":"3450","description":"","progress":"","project_id":"4126","situation":"\u662f\u5c71\u5c71\u6c34\u6c34","start_at":"","target_completed_at":"","taskGroupHeads":["1000"],"taskGroupUsers":["1000"],"title":"\u6d4b\u8bd5\u5220\u9664"},"access_token":"R8ScrIY1ab3sgHgv8KlMKFukwMtD6QYC","device_type":"2","posttime":"1781792512","token":"f2ca245b5f0354f5900748b6dff13ea0","version_code":"1160"}', '{"code":200,"data":{"id":212},"status":1,"msg":[{"name":"success","success":"\u65b0\u9879\u76ee\u5df2\u521b\u5efa\u6210\u529f","error":""}],"ip":"117.176.187.26","ua":"jinchangxiao\/2.3.157 (iPhone 12 mini; iOS 26.2; Scale\/3.00)"}', FALSE, '2026-06-18 22:22:07', 1296095232) RETURNING "id" |