数据库内容新增
添加 info 数据表中数据 applicationRule/applicationInfo/email Signed-off-by: XiaoLFeng <gm@x-lf.cn>
This commit is contained in:
parent
f78e62a85b
commit
1fbdaeef99
|
@ -30,6 +30,7 @@ public function __construct()
|
|||
'webFooter' => DB::table('info')->find(8)->data,
|
||||
'webKeyword' => empty($tempStorage = DB::table('info')->find(6)->data) ? '筱锋,凌中的锋雨,xiao_lfeng' : $tempStorage,
|
||||
'sqlAuthor' => empty($tempStorage = DB::table('info')->find(12)->data) ? '筱锋xiao_lfeng' : $tempStorage,
|
||||
'sqlEmail' => empty($tempStorage = DB::table('info')->find(17)->data) ? 'gm@x-lf.cn' : $tempStorage,
|
||||
'sqlCopyRightYear' => DB::table('info')->find(13)->data,
|
||||
'sqlIcp' => DB::table('info')->find(10)->data,
|
||||
'sqlGongan' => DB::table('info')->find(11)->data,
|
||||
|
|
|
@ -35,6 +35,9 @@ public function up()
|
|||
DB::table('info')->insert(['value' => 'author', 'created_at' => date('Y-m-d H:i:s')]);
|
||||
DB::table('info')->insert(['value' => 'copyRightYear', 'created_at' => date('Y-m-d H:i:s')]);
|
||||
DB::table('info')->insert(['value' => 'blog', 'created_at' => date('Y-m-d H:i:s')]);
|
||||
DB::table('info')->insert(['value' => 'applicationRule', 'created_at' => date('Y-m-d H:i:s')]);
|
||||
DB::table('info')->insert(['value' => 'applicationInfo', 'created_at' => date('Y-m-d H:i:s')]);
|
||||
DB::table('info')->insert(['value' => 'email', 'created_at' => date('Y-m-d H:i:s')]);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user