// // Copyright (C) 2024 veypi // 2024-09-20 16:10:16 // Distributed under terms of the MIT license. // package models import ( "github.com/veypi/vbase/cfg" "github.com/veypi/vigo" ) var AllModels = &vigo.ModelList{} func init() { } func Migrate() error { return AllModels.AutoMigrate(cfg.DB()) } func Drop() error { return AllModels.AutoDrop(cfg.DB()) } func InitDB() error { return nil }