Finish the second step of work.
This commit is contained in:
@ -1,11 +1,13 @@
|
||||
package rest
|
||||
|
||||
import "github.com/jinzhu/gorm"
|
||||
|
||||
/**
|
||||
* 表名对应的表结构
|
||||
*/
|
||||
type InstallTableInfo struct {
|
||||
Name string `json:"name"`
|
||||
CreateSql string `json:"createSql"`
|
||||
TableExist bool `json:"tableExist"`
|
||||
ExistCreateSql string `json:"existCreateSql"`
|
||||
Name string `json:"name"`
|
||||
TableExist bool `json:"tableExist"`
|
||||
AllFields []*gorm.StructField `json:"allFields"`
|
||||
MissingFields []*gorm.StructField `json:"missingFields"`
|
||||
}
|
||||
|
Reference in New Issue
Block a user