This commit is contained in:
parent
aa3e66a37c
commit
86414244a8
@ -21,6 +21,14 @@ func init() {
|
||||
println(err.Error())
|
||||
|
||||
}
|
||||
res, err := engine.IsTableExist("wol")
|
||||
if !res {
|
||||
CreateTable()
|
||||
}
|
||||
if err != nil {
|
||||
println(err.Error())
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
func CreateTable() int {
|
||||
|
Loading…
x
Reference in New Issue
Block a user