11 lines
167 B
Go
11 lines
167 B
Go
|
package host
|
||
|
|
||
|
import (
|
||
|
"github.com/jinzhu/gorm"
|
||
|
)
|
||
|
|
||
|
// SyncModels to verify the database schema
|
||
|
func SyncModels(dbconnection *gorm.DB) {
|
||
|
dbconnection.AutoMigrate()
|
||
|
}
|