| 15:16:39.734 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
| 15:16:39.735 | trace | yii\base\Module::getModule | Loading module: debug |
| 15:16:39.735 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
| 15:16:39.736 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
| 15:16:39.736 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
| 15:16:39.736 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 15:16:39.737 | info | time tracing start | 1781853399737176064 |
| 15:16:39.737 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
| 15:16:39.737 | trace | yii\web\Application::handleRequest | Route requested: 'vue/work-log/save-new' |
| 15:16:39.737 | trace | yii\base\Module::getModule | Loading module: vue |
| 15:16:39.744 | info | yii\web\Session::open | Session started |
| 15:16:39.745 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=1001 |
| 15:16:39.746 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
| 15:16:39.747 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 15:16:39.748 | 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 = 'vw_user_login'
and d.nspname = 'global'
ORDER BY
a.attnum; |
| 15:16:39.754 | 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='vw_user_login'
and ns.nspname='global'
order by
fns.nspname, fc.relname, a.attnum |
| 15:16:39.769 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 15:16:39.769 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
| 15:16:39.769 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 15:16:39.770 | 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_users'
and d.nspname = 'a57be577deb434'
ORDER BY
a.attnum; |
| 15:16:39.775 | 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_users'
and ns.nspname='a57be577deb434'
order by
fns.nspname, fc.relname, a.attnum |
| 15:16:39.789 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 15:16:39.789 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
| 15:16:39.790 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 15:16:39.790 | trace | yii\base\Controller::runAction | Route to run: vue/work-log/save-new |
| 15:16:39.791 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 15:16:39.793 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
| 15:16:39.793 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\vue\controllers\WorkLogController::actionSaveNew() |
| 15:16:39.793 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 15:16:39.794 | 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_work_logs'
and d.nspname = 'a57be577deb434'
ORDER BY
a.attnum; |
| 15:16:39.798 | 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_work_logs'
and ns.nspname='a57be577deb434'
order by
fns.nspname, fc.relname, a.attnum |
| 15:16:39.824 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 15:16:39.824 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
| 15:16:39.826 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001) |
| 15:16:39.828 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_work_logs" ("created_by", "status", "start_at", "end_at") VALUES (1001, 0, NULL, NULL) RETURNING "id" |
| 15:16:39.838 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 15:16:39.838 | 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_action_logs'
and d.nspname = 'a57be577deb434'
ORDER BY
a.attnum; |
| 15:16:39.842 | 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_action_logs'
and ns.nspname='a57be577deb434'
order by
fns.nspname, fc.relname, a.attnum |
| 15:16:39.855 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 15:16:39.856 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
| 15:16:39.856 | 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\WorkLogs', 39172, 'a:19:{s:2:"id";i:39172;s:9:"client_id";N;s:11:"scenario_id";N;s:18:"scenario_option_id";N;s:6:"end_at";N;s:10:"created_by";i:1001;s:10:"created_at";N;s:10:"updated_at";N;s:8:"start_at";N;s:11:"description";N;s:6:"escort";N;s:8:"is_draft";N;s:11:"location_id";N;s:10:"project_id";N;s:14:"location_in_id";N;s:15:"location_out_id";N;s:6:"status";i:0;s:10:"indistance";N;s:11:"outdistance";N;}', '', 1001, '66.249.68.3') |
| 15:16:39.858 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=18) AND ("object_id"=39172) |
| 15:16:39.863 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_work_logs" WHERE "id"=39172 |
| 15:16:39.865 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_work_log_carbon_copy_rels" WHERE "work_log_id"=39172 |
| 15:16:39.869 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 15:16:39.870 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 15:16:39.872 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 15:16:39.872 | 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_comments'
and d.nspname = 'a57be577deb434'
ORDER BY
a.attnum; |
| 15:16:39.876 | 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_comments'
and ns.nspname='a57be577deb434'
order by
fns.nspname, fc.relname, a.attnum |
| 15:16:39.900 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 15:16:39.900 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
| 15:16:39.901 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_work_logs" WHERE "id"=39172 |
| 15:16:39.902 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001) |
| 15:16:39.904 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_comments" ("created_by", "object_type", "object_id", "description", "is_system", "description2") VALUES (1001, '19', 39172, '刘人诚新建了一条工作日志', TRUE, '') RETURNING "id" |
| 15:16:39.909 | 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\Comments', 220937, 'a:11:{s:2:"id";i:220937;s:9:"object_id";i:39172;s:11:"object_type";s:2:"19";s:6:"parent";N;s:11:"description";s:36:"刘人诚新建了一条工作日志";s:10:"created_by";i:1001;s:10:"created_at";N;s:8:"reply_to";N;s:9:"is_system";b:1;s:8:"for_user";N;s:12:"description2";s:0:"";}', '', 1001, '66.249.68.3') |
| 15:16:39.910 | info | yii\db\Command::query | SELECT "channel_id" FROM "global"."tbl_logins" WHERE (0=1) AND ("id" != 1001) AND (channel_id IS NOT NULL) |
| 15:16:39.927 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: INCR |
| 15:16:39.927 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: HSET |
| 15:16:39.927 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: LPUSH |
| 15:16:39.929 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_work_log_verify_rels" WHERE "work_log_id"=39172 ORDER BY "id" |
| 15:16:39.934 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_work_logs" WHERE "id"=39172 |
| 15:16:39.936 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 15:16:39.937 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 15:16:39.937 | 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_object_change_logs'
and d.nspname = 'a57be577deb434'
ORDER BY
a.attnum; |
| 15:16:39.941 | 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_object_change_logs'
and ns.nspname='a57be577deb434'
order by
fns.nspname, fc.relname, a.attnum |
| 15:16:39.958 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 15:16:39.958 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
| 15:16:39.959 | 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', 39172, 19, 1001, '2026-06-19 15:16:39', '{"id":39172,"client_id":null,"scenario_id":null,"scenario_option_id":null,"end_at":null,"created_by":1001,"created_at":"2026-06-19 15:16:39","updated_at":"2026-06-19 15:16:39","start_at":null,"description":null,"escort":null,"is_draft":false,"location_id":null,"project_id":null,"location_in_id":null,"location_out_id":null,"status":0,"indistance":null,"outdistance":null}', '{"id":39172,"client_id":null,"scenario_id":null,"scenario_option_id":null,"end_at":null,"created_by":1001,"created_at":"2026-06-19 15:16:39","updated_at":"2026-06-19 15:16:39","start_at":null,"description":null,"escort":null,"is_draft":false,"location_id":null,"project_id":null,"location_in_id":null,"location_out_id":null,"status":0,"indistance":null,"outdistance":null}', '{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u5de5\u4f5c\u65e5\u5fd7","d4":[]}') RETURNING "id" |
| 15:16:39.969 | 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', 642295, 'a:13:{s:2:"id";i:642295;s:9:"object_id";i:39172;s:11:"object_type";i:19;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:372:"{"id":39172,"client_id":null,"scenario_id":null,"scenario_option_id":null,"end_at":null,"created_by":1001,"created_at":"2026-06-19 15:16:39","updated_at":"2026-06-19 15:16:39","start_at":null,"description":null,"escort":null,"is_draft":false,"location_id":null,"project_id":null,"location_in_id":null,"location_out_id":null,"status":0,"indistance":null,"outdistance":null}";s:9:"new_value";s:372:"{"id":39172,"client_id":null,"scenario_id":null,"scenario_option_id":null,"end_at":null,"created_by":1001,"created_at":"2026-06-19 15:16:39","updated_at":"2026-06-19 15:16:39","start_at":null,"description":null,"escort":null,"is_draft":false,"location_id":null,"project_id":null,"location_in_id":null,"location_out_id":null,"status":0,"indistance":null,"outdistance":null}";s:11:"description";s:93:"{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u5de5\u4f5c\u65e5\u5fd7","d4":[]}";s:10:"created_by";i:1001;s:10:"created_at";s:19:"2026-06-19 15:16:39";s:9:"is_delete";N;}', '', 1001, '66.249.68.3') |
| 15:16:39.973 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: INCR |
| 15:16:39.973 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: HSET |
| 15:16:39.973 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: LPUSH |
| 15:16:39.973 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_work_log_verify_rels" WHERE "work_log_id"=39172 ORDER BY "id" |
| 15:16:39.974 | 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\WorkLogs', 39172, 'a:0:{}', '', 1001, '66.249.68.3') |
| 15:16:39.977 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 15:16:39.977 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 15:16:39.978 | info | yii\db\Command::query | INSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "url", "request", "response", "php_error", "time", "duration") VALUES (200, 'a57be577deb434', 1001, 5, 'vue/work-log/save-new', '[]', '{"code":2000,"result":{"id":39172},"status":1,"msg":[{"name":"success","success":"\u65b0\u5de5\u4f5c\u65e5\u5fd7\u5df2\u521b\u5efa\u6210\u529f","error":""}],"mod":0,"ip":"66.249.68.3","ua":"Mozilla\/5.0 (Linux; Android 6.0.1; Nexus 5X Build\/MMB29P) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/148.0.7778.96 Mobile Safari\/537.36 (compatible; GoogleOther)"}', FALSE, '2026-06-19 15:16:39', 240879872) RETURNING "id" |
| 15:16:39.980 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 15:16:39.980 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |