备份设置

This commit is contained in:
孟凡懂 2022-06-07 09:42:25 +08:00
parent 8c61a43479
commit 851563390f

View File

@ -1,43 +1,40 @@
<?php <?php
return array( return [
array( [
'name' => 'backupDir', 'name' => 'backupDir',
'title' => '备份存放目录', 'title' => '备份存放目录',
'type' => 'string', 'type' => 'string',
'content' => 'content' => [],
array(),
'value' => '../data/', 'value' => '../data/',
'rule' => 'required', 'rule' => 'required',
'msg' => '', 'msg' => '',
'tip' => '备份目录,请使用相对目录', 'tip' => '备份目录,请使用相对目录',
'ok' => '', 'ok' => '',
'extend' => '', 'extend' => '',
), ],
array( [
'name' => 'backupIgnoreTables', 'name' => 'backupIgnoreTables',
'title' => '备份忽略的表', 'title' => '备份忽略的表',
'type' => 'string', 'type' => 'string',
'content' => 'content' => [],
array(),
'value' => 'fa_admin_log', 'value' => 'fa_admin_log',
'rule' => '', 'rule' => '',
'msg' => '', 'msg' => '',
'tip' => '忽略备份的表,多个表以,进行分隔', 'tip' => '忽略备份的表,多个表以,进行分隔',
'ok' => '', 'ok' => '',
'extend' => '', 'extend' => '',
), ],
array( [
'name' => '__tips__', 'name' => '__tips__',
'title' => '温馨提示', 'title' => '温馨提示',
'type' => '', 'type' => '',
'content' => 'content' => [],
array(),
'value' => '请做好数据库离线备份工作,建议此插件仅用于开发阶段,项目正式上线建议卸载此插件', 'value' => '请做好数据库离线备份工作,建议此插件仅用于开发阶段,项目正式上线建议卸载此插件',
'rule' => '', 'rule' => '',
'msg' => '', 'msg' => '',
'tip' => '', 'tip' => '',
'ok' => '', 'ok' => '',
'extend' => '', 'extend' => '',
), ],
); ];