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

80 lines
1.9 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['snapshot']=array (
'columns' =>
array (
'id' =>
array(
'type' => 'bigint unsigned',
'required' => true,
'pkey' => true,
'editable' => false,
'extra' => 'auto_increment',
),
'type' =>
array(
'type' => array(
1 => '赠品规则应用',
2 => '分组规则',
3 => '赠品规则',
9 => '其它',
),
'label'=>'类型',
'in_list' => true,
'default_in_list' => true,
),
'task_id' =>
array(
'type' => 'int unsigned',
'label'=>'业务ID',
'in_list' => true,
'default_in_list' => true,
),
'title' =>
array(
'type' => 'varchar(100)',
'label'=>'标题',
'in_list' => true,
'default_in_list' => true,
),
'content' =>
array(
'type' => 'longtext',
'label'=>'内容',
'in_list' => true,
'default_in_list' => true,
),
'op_user' =>
array(
'type' => 'varchar(50)',
'label'=>'操作人',
'in_list' => true,
'default_in_list' => true,
),
'create_time' =>
array(
'type' => 'datetime',
'label'=>'操作时间',
'in_list' => true,
'default_in_list' => true,
),
),
'index' =>
array (
'ind_task_id' =>
array (
'columns' =>
array (
'task_id',
),
),
),
'engine' => 'innodb',
'version' => '$Rev: $',
);