| 17:41:01.232 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
| 17:41:01.232 | trace | yii\base\Module::getModule | Loading module: debug |
| 17:41:01.233 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
| 17:41:01.240 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
| 17:41:01.240 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
| 17:41:01.249 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:41:01.254 | info | time tracing start | 1783935661254192128 |
| 17:41:01.254 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
| 17:41:01.254 | trace | yii\web\Application::handleRequest | Route requested: 'vue/history/list-object' |
| 17:41:01.254 | trace | yii\base\Module::getModule | Loading module: vue |
| 17:41:01.289 | info | yii\web\Session::open | Session started |
| 17:41:01.290 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=1001 |
| 17:41:01.290 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
| 17:41:01.292 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:41:01.292 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 17:41:01.293 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=1001 |
| 17:41:01.294 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:41:01.294 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 17:41:01.296 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 17:41:01.296 | trace | yii\base\Controller::runAction | Route to run: vue/history/list-object |
| 17:41:01.297 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\vue\controllers\HistoryController::actionListObject() |
| 17:41:01.297 | info | yii\db\Command::query | SELECT COUNT(*) FROM (SELECT * FROM "a57be577deb434"."tbl_visit_object_histories" WHERE "user_id"=1001 ORDER BY "last_visit_at" DESC LIMIT 10) "c" |
| 17:41:01.299 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_visit_object_histories" WHERE "user_id"=1001 ORDER BY "last_visit_at" DESC LIMIT 20 |
| 17:41:01.299 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:41:01.300 | 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_purchase_contracts'
and d.nspname = 'a57be577deb434'
ORDER BY
a.attnum; |
| 17:41:01.310 | 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_purchase_contracts'
and ns.nspname='a57be577deb434'
order by
fns.nspname, fc.relname, a.attnum |
| 17:41:01.330 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 17:41:01.331 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
| 17:41:01.331 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_purchase_contracts" WHERE "id"=4465 |
| 17:41:01.333 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:41:01.333 | 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; |
| 17:41:01.338 | 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 |
| 17:41:01.354 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 17:41:01.355 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
| 17:41:01.355 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_work_logs" WHERE "id"=35860 |
| 17:41:01.357 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_work_log_scenario_options" WHERE "id"=72 |
| 17:41:01.358 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:41:01.358 | 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_log_scenario_options'
and d.nspname = 'a57be577deb434'
ORDER BY
a.attnum; |
| 17:41:01.362 | 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_log_scenario_options'
and ns.nspname='a57be577deb434'
order by
fns.nspname, fc.relname, a.attnum |
| 17:41:01.376 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 17:41:01.376 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
| 17:41:01.376 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_work_logs" WHERE "id"=35859 |
| 17:41:01.377 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_work_log_scenario_options" WHERE "id"=67 |
| 17:41:01.378 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_work_logs" WHERE "id"=19578 |
| 17:41:01.378 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_work_log_scenario_options" WHERE "id"=8 |
| 17:41:01.379 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:41:01.379 | 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_cases'
and d.nspname = 'a57be577deb434'
ORDER BY
a.attnum; |
| 17:41:01.385 | 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_cases'
and ns.nspname='a57be577deb434'
order by
fns.nspname, fc.relname, a.attnum |
| 17:41:01.403 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 17:41:01.403 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
| 17:41:01.404 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_cases" WHERE "id"=9224 |
| 17:41:01.405 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_cases" WHERE "id"=9240 |
| 17:41:01.405 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_cases" WHERE "id"=9077 |
| 17:41:01.406 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:41:01.406 | 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_sales_contracts'
and d.nspname = 'a57be577deb434'
ORDER BY
a.attnum; |
| 17:41:01.412 | 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_sales_contracts'
and ns.nspname='a57be577deb434'
order by
fns.nspname, fc.relname, a.attnum |
| 17:41:01.429 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 17:41:01.430 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
| 17:41:01.430 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_sales_contracts" WHERE "id"=4486 |
| 17:41:01.431 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:41:01.431 | 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; |
| 17:41:01.436 | 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 |
| 17:41:01.451 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 17:41:01.452 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
| 17:41:01.452 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=4174 |
| 17:41:01.453 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_sales_contracts" WHERE "id"=4476 |
| 17:41:01.454 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:41:01.455 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 17:41:01.455 | 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/history/list-object', '{"web_access_token":"5AupG7xHuokx9wetTr07AzAbY_YBWThm"}', '{"code":2000,"result":{"list":[{"id":207864,"user_id":1001,"object_type":13,"object_id":4465,"last_visit_at":"2026-07-13 16:37:35","title":"\u5408\u540c\u7f16\u53f7\uff1a\u6d4b\u8bd5\u6d4b\u8bd5","icon":"icon-caigouhetong"},{"id":207862,"user_id":1001,"object_type":19,"object_id":35860,"last_visit_at":"2026-07-10 17:24:51","title":"\u6316\u6398\u5546\u673a","icon":"icon-gongzuorizhi"},{"id":207863,"user_id":1001,"object_type":19,"object_id":35859,"last_visit_at":"2026-07-10 17:24:49","title":"\u5546\u673a\u63a8\u52a8","icon":"icon-gongzuorizhi"},{"id":207861,"user_id":1001,"object_type":19,"object_id":19578,"last_visit_at":"2026-07-10 17:24:29","title":"\u534f\u540c\u5382\u5546\u62dc\u8bbf\u5ba2\u6237","icon":"icon-gongzuorizhi"},{"id":207860,"user_id":1001,"object_type":18,"object_id":9224,"last_visit_at":"2026-07-10 15:26:41","title":"Case\u7f16\u53f7\uff1aIM260317001","icon":"icon-gongdanguanli"},{"id":207859,"user_id":1001,"object_type":18,"object_id":9240,"last_visit_at":"2026-07-10 15:24:17","title":"Case\u7f16\u53f7\uff1aIM260323006","icon":"icon-gongdanguanli"},{"id":207858,"user_id":1001,"object_type":18,"object_id":9077,"last_visit_at":"2026-07-10 15:05:30","title":"Case\u7f16\u53f7\uff1aIM251224004","icon":"icon-gongdanguanli"},{"id":207850,"user_id":1001,"object_type":7,"object_id":4486,"last_visit_at":"2026-07-10 14:33:39","title":"\u5408\u540c\u7f16\u53f7\uff1a2026-06-02-001","icon":"icon-xiaoshouhetong"},{"id":207857,"user_id":1001,"object_type":1,"object_id":4174,"last_visit_at":"2026-07-10 12:33:11","title":"\u9500\u552e\u7ebf\u7d22\u751f\u621020260602001","icon":"icon-shangjixinxi"},{"id":207856,"user_id":1001,"object_type":7,"object_id":4476,"last_visit_at":"2026-07-10 11:43:42","title":"\u5408\u540c\u7f16\u53f7\uff1a2026-05-20-001","icon":"icon-xiaoshouhetong"}]},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}],"mod":0,"ip":"39.156.194.178","ua":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10.15; rv:152.0) Gecko\/20100101 Firefox\/152.0"}', FALSE, '2026-07-13 17:41:01', 201198848) RETURNING "id" |
| 17:41:01.458 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 17:41:01.458 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |