19:13:10.136 | 3.7 ms | SELECT | SELECT * FROM "global"."vw_user_login" WHERE "access_token"='Ll7CI5iYtgVyQJHl2tkvnIHNJc9_fUfd' |
19:13:10.141 | 1.5 ms | SELECT | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
19:13:10.145 | 0.4 ms | SELECT | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000) |
19:13:10.145 | 0.6 ms | SELECT | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000) |
19:13:10.146 | 6.6 ms | INSERT | INSERT INTO "a57be577deb434"."tbl_task_groups" ("client_id", "description", "progress", "project_id", "situation", "start_at", "target_completed_at", "title", "created_by", "head_of") VALUES (NULL, '', 0, NULL, 'Hahahah', NULL, NULL, 'Hahahahh', 1000, 1000) RETURNING "id" |
19:13:10.153 | 5.3 ms | SELECT | 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_action_logs'
and d.nspname = 'a57be577deb434'
ORDER BY
a.attnum; |
19:13:10.159 | 7.8 ms | SELECT | 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_action_logs'
and ns.nspname='a57be577deb434'
order by
fns.nspname, fc.relname, a.attnum |
19:13:10.167 | 8.2 ms | INSERT | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\TaskGroups', 197, 'a:17:{s:2:"id";i:197;s:5:"title";s:8:"Hahahahh";s:11:"description";s:0:"";s:9:"client_id";s:0:"";s:7:"head_of";i:1000;s:6:"status";N;s:19:"target_completed_at";s:0:"";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:7:"Hahahah";s:8:"start_at";N;s:10:"project_id";s:0:"";s:20:"complete_description";N;s:8:"progress";i:0;s:6:"weight";N;}', '', 1000, '183.221.113.44') |
19:13:10.175 | 0.3 ms | DELETE | DELETE FROM "a57be577deb434"."tbl_task_group_user_relationships" WHERE "task_group_id"=197 |
19:13:10.176 | 3.2 ms | INSERT | INSERT INTO "a57be577deb434"."tbl_task_group_user_relationships" ("task_group_id", "user_id") VALUES (197, 1000) |
19:13:10.179 | 0.3 ms | DELETE | DELETE FROM "a57be577deb434"."tbl_task_group_head_of_relationships" WHERE "task_group_id"=197 |
19:13:10.179 | 2.6 ms | INSERT | INSERT INTO "a57be577deb434"."tbl_task_group_head_of_relationships" ("task_group_id", "user_id") VALUES (197, 1000) |
19:13:10.182 | 0.3 ms | SELECT | SELECT * FROM "a57be577deb434"."tbl_task_groups" WHERE "id"=197 |
19:13:10.183 | 0.3 ms | SELECT | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
19:13:10.184 | 2.9 ms | SELECT | 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_object_change_logs'
and d.nspname = 'a57be577deb434'
ORDER BY
a.attnum; |
19:13:10.187 | 8.0 ms | SELECT | 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_object_change_logs'
and ns.nspname='a57be577deb434'
order by
fns.nspname, fc.relname, a.attnum |
19:13:10.195 | 6.3 ms | INSERT | 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', 197, 102, 1000, '2025-07-05 19:13:10', '{"id":197,"title":"Hahahahh","description":"","client_id":null,"head_of":1000,"status":0,"target_completed_at":null,"completed_at":null,"created_by":1000,"created_at":"2025-07-05 19:13:10","updated_at":"2025-07-05 19:13:10","situation":"Hahahah","start_at":null,"project_id":null,"complete_description":null,"progress":0,"weight":0}', '{"id":197,"title":"Hahahahh","description":"","client_id":null,"head_of":1000,"status":0,"target_completed_at":null,"completed_at":null,"created_by":1000,"created_at":"2025-07-05 19:13:10","updated_at":"2025-07-05 19:13:10","situation":"Hahahah","start_at":null,"project_id":null,"complete_description":null,"progress":0,"weight":0}', '{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"\u9879\u76ee","d4":[]}') RETURNING "id" |
19:13:10.202 | 0.8 ms | INSERT | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ObjectChangeLogs', 510113, 'a:13:{s:2:"id";i:510113;s:9:"object_id";i:197;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:332:"{"id":197,"title":"Hahahahh","description":"","client_id":null,"head_of":1000,"status":0,"target_completed_at":null,"completed_at":null,"created_by":1000,"created_at":"2025-07-05 19:13:10","updated_at":"2025-07-05 19:13:10","situation":"Hahahah","start_at":null,"project_id":null,"complete_description":null,"progress":0,"weight":0}";s:9:"new_value";s:332:"{"id":197,"title":"Hahahahh","description":"","client_id":null,"head_of":1000,"status":0,"target_completed_at":null,"completed_at":null,"created_by":1000,"created_at":"2025-07-05 19:13:10","updated_at":"2025-07-05 19:13:10","situation":"Hahahah","start_at":null,"project_id":null,"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:"2025-07-05 19:13:10";s:9:"is_delete";N;}', '', 1000, '183.221.113.44') |
19:13:10.203 | 1.0 ms | INSERT | INSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "version_code", "url", "request", "response", "php_error", "time") VALUES (200, 'a57be577deb434', 1000, 2, 1141, 'v2/task/save-new-group', '{"TaskGroups":{"client_id":"","description":"","progress":"","project_id":"","situation":"Hahahah","start_at":"","target_completed_at":"","taskGroupHeads":["1000"],"taskGroupUsers":["1000"],"title":"Hahahahh"},"access_token":"Ll7CI5iYtgVyQJHl2tkvnIHNJc9_fUfd","device_type":"2","posttime":"1751714048","token":"332ca85f28141e3e820a5f787b959acd","version_code":"1141"}', '{"code":200,"data":{"id":197},"status":1,"msg":[{"name":"success","success":"\u65b0\u9879\u76ee\u5217\u8868\u5df2\u521b\u5efa\u6210\u529f","error":""}]}', FALSE, '2025-07-05 19:13:10') RETURNING "id" |