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

60 lines
2.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['apps']=array (
'columns' =>
array (
'app_id' =>
array (
'type' => 'varchar(32)',
'required' => true,
'default' => '',
'pkey' => true,
'width' => 100,
'label' => app::get('base')->_('程序目录'),
'hidden' => 1,
'editable' => false,
'in_list' => true,
'default_in_list' => false,
),
'app_name' => array ('type' => 'varchar(50)','width' => 150,'label' => app::get('base')->_('应用程序'),'is_title'=>1, 'in_list' => true,'default_in_list' => 1 ),
'debug_mode' => array ('type' => 'bool','default' => 'false','width' => 100,'label' => app::get('base')->_('调试模式'), 'in_list' => true,'default_in_list' => false ),
'app_config' => array ('type' => 'text'),
'status' => array (
'label' => app::get('base')->_('状态'),
'width' => 100,
'default' => 'uninstalled',
'type' =>
array (
'installed' => app::get('base')->_('已安装, 未启动'),
'resolved' => app::get('base')->_('已配置'),
'starting' => app::get('base')->_('正在启动'),
'active' => app::get('base')->_('运行中'),
'stopping' => app::get('base')->_('正在关闭'),
'uninstalled' => app::get('base')->_('尚未安装'),
'broken' => app::get('base')->_('已损坏'),
'paused' => app::get('base')->_('已暂停'),
),
'in_list' => true,
'default_in_list' => true,
),
'webpath'=>array('type'=>'varchar(20)'),
'description'=>array('type'=>'varchar(255)','width' => 300,'label' => app::get('base')->_('说明'),'in_list' => true,'default_in_list' => 1),
'local_ver'=>array('type'=>'varchar(20)','width' => 100,'label' => app::get('base')->_('当前版本'),'in_list' => true,'default_in_list' => 1),
'remote_ver'=>array('type'=>'varchar(20)','width' => 100,'label' => app::get('base')->_('最新版本'),'in_list' => true,'default_in_list' => false),
'author_name'=>array('type'=>'varchar(100)'),
'author_url'=>array('type'=>'varchar(100)'),
'author_email'=>array('type'=>'varchar(100)'),
'dbver'=>array('type'=>'varchar(32)'),
'remote_config'=>array('type'=>'serialize')
),
'comment' => '系统应用表',
'version' => '$Rev: 44008 $',
'unbackup' => true,
);