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

56 lines
1.7 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.
*/
/**
* @Author: xueding@shopex.cn
* @Vsersion: 2022/10/13
* @Describe: 通知事件模板数据结构
*/
$db['event_group_template'] = array(
'columns' => array(
'group_id' => array(
'type' => 'varchar(10)',
'pkey' => true,
'width' => 110,
'hidden' => true,
'editable' => false,
),
'event_type' => array(
'type' => 'text',
'label' => '触发事件',
'comment' => '触发事件',
'editable' => false,
'in_list' => false,
'default_in_list' => false,
'order' => 10,
),
'at_time' => array(
'type' => 'TIMESTAMP',
'label' => '创建时间',
'comment' => '创建时间',
'default' => 'CURRENT_TIMESTAMP',
'in_list' => true,
'default_in_list' => true,
'order' => 60,
),
'up_time' => array(
'type' => 'TIMESTAMP',
'label' => '修改时间',
'comment' => '修改时间',
'default' => 'CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP',
'in_list' => true,
'default_in_list' => true,
'order' => 70,
),
),
'comment' => '监控邮件组关联模板',
'index' => array(),
'engine' => 'innodb',
'version' => '$Rev: $',
);