You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
366 B
Go

11 months ago
package ast
import (
"miniapp/global"
"miniapp/model/example"
"testing"
)
const A = 123
func TestAddRegisterTablesAst(t *testing.T) {
AddRegisterTablesAst("D:\\gin-vue-admin\\server.exe.exe\\utils\\ast_test.go", "Register", "test", "testDB", "testModel")
}
func Register() {
test := global.GetGlobalDBByDBName("test")
test.AutoMigrate(example.ExaFile{})
}