mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-11-08 03:50:50 +08:00
chore(notice): 规范修复与安装演练收尾
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
use think\migration\Migrator;
|
||||
use think\migration\db\Column;
|
||||
use think\migration\Migrator;
|
||||
|
||||
/**
|
||||
* system_admin 追加电子邮箱字段(幂等,已存在则跳过).
|
||||
@@ -12,7 +12,7 @@ class SystemAdminEmail extends Migrator
|
||||
{
|
||||
$table = $this->table('system_admin');
|
||||
|
||||
if(!$table->hasColumn('email')){
|
||||
if (!$table->hasColumn('email')) {
|
||||
$table->addColumn(Column::char('email', 100)->setDefault('')->setComment('电子邮箱'));
|
||||
$table->update();
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@ use think\console\Output;
|
||||
use think\migration\Migrator;
|
||||
|
||||
/**
|
||||
* 通知管理菜单与 notify 配置默认值对齐
|
||||
* 通知管理菜单与 notify 配置默认值对齐.
|
||||
*
|
||||
* 背景:通知系统特性落地(system.notice 模块 + sysconfig notify 配置组),
|
||||
* 快照变更配套迁移——adminInitData/SystemMenu.php 追加「通知管理」菜单
|
||||
|
||||
Reference in New Issue
Block a user