package database import ( "Panel_development/app/model" "gorm.io/gorm" ) func Migrate(db *gorm.DB) { db.Set("gorm:table_options", "ENGINE=InnoDB").AutoMigrate( model.ComponentClassify{}, model.ComponentList{}, model.PageManage{}, ) }