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

54 lines
1.4 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['relate']=array (
'columns' => array (
'relate_id' => array (
'type' => 'number',
'required' => true,
'pkey' => true,
'extra' => 'auto_increment',
'editable' => false,
),
'relate_table' => array (
'type' => 'varchar(50)',
'editable' => false,
'label' => app::get('omeanalysts')->_('关联表'),
),
'relate_key' => array (
'type' => 'varchar(50)',
'editable' => false,
'label' => app::get('omeanalysts')->_('关联表ID'),
),
'disabled' => array (
'type' => 'bool',
'required' => true,
'editable' => false,
'default' => 'false',
),
),
'index' =>
array (
'ind_relate_table' =>
array (
'columns' =>
array (
0 => 'relate_table',
),
),
'ind_relate_key' =>
array (
'columns' =>
array (
0 => 'relate_key',
),
'prefix' => 'unique',
),
),
'comment' => '报表分析关联表',
'engine' => 'innodb',
'version' => '$Rev: $',
);