Files
OMS/app/ome/dbschema/operation_log.php
2025-12-28 23:13:25 +08:00

105 lines
2.0 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?php
/**
* Copyright © ShopeX http://www.shopex.cn. All rights reserved.
* See LICENSE file for license details.
*/
$db['operation_log']=array (
'columns' =>
array (
'log_id' =>
array (
'type' => 'int unsigned',
'pkey' => true,
'extra' => 'auto_increment',
'editable' => false,
),
'obj_id' =>
array (
'type' => 'varchar(50)',
'required' => true,
'editable' => false,
'comment' => '操作对象主键',
),
'obj_name' =>
array (
'type' => 'varchar(200)',
'editable' => false,
'comment' => '操作对象含义字段dbschema中的is_title=true字段值',
),
'obj_type' =>
array (
'type' => 'varchar(50)',
'required' => true,
'editable' => false,
),
'operation' =>
array (
'type' => 'varchar(50)',
'editable' => false,
'required' => true,
'label' => '操作名'
),
'op_id' =>
array (
'type' => 'table:account@pam',
'editable' => false,
'required' => true,
),
'op_name' =>
array (
'type' => 'varchar(30)',
'editable' => false,
),
'operate_time' =>
array (
'type' => 'time',
'required' => true,
'editable' => false,
),
'memo' =>
array (
'type' => 'text',
'editable' => false,
),
'ip' =>
array (
'type' => 'varchar(15)',
'editable' => false,
),
),
'index' =>
array (
'ind_obj_id' =>
array (
'columns' =>
array (
0 => 'obj_id',
),
),
'ind_obj_type' =>
array (
'columns' =>
array (
0 => 'obj_type',
),
),
'ind_op_name' =>
array (
'columns' =>
array (
0 => 'op_name',
),
),
'ind_operate_time' =>
array (
'columns' =>
array (
0 => 'operate_time',
),
),
),
'comment' => '操作员记录表',
'engine' => 'innodb',
'version' => '$Rev: $',
);