mirror of
https://github.com/ProudMuBai/GoFilm.git
synced 2026-02-18 16:44:41 +08:00
add BAM
This commit is contained in:
15
server/plugin/SystemInit/DatabaseInIt.go
Normal file
15
server/plugin/SystemInit/DatabaseInIt.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package SystemInit
|
||||
|
||||
import "server/model/system"
|
||||
|
||||
// TableInIt 初始化 mysql 数据库相关数据
|
||||
func TableInIt() {
|
||||
// 创建 User Table
|
||||
system.CreateUserTable()
|
||||
// 初始化管理员账户
|
||||
system.InitAdminAccount()
|
||||
// 创建 Search Table
|
||||
system.CreateSearchTable()
|
||||
// 创建图片信息管理表
|
||||
system.CreatePictureTable()
|
||||
}
|
||||
Reference in New Issue
Block a user