auto generate query & models

This commit is contained in:
yanghao05
2023-01-30 10:31:44 +08:00
parent 168e488629
commit c8091a5d7e
7 changed files with 540 additions and 12 deletions

View File

@@ -0,0 +1,17 @@
// Code generated by gorm.io/gen. DO NOT EDIT.
// Code generated by gorm.io/gen. DO NOT EDIT.
// Code generated by gorm.io/gen. DO NOT EDIT.
package models
const TableNameMigration = "migrations"
// Migration mapped from table <migrations>
type Migration struct {
ID string `gorm:"column:id;type:varchar(255);primaryKey" json:"id"`
}
// TableName Migration's table name
func (*Migration) TableName() string {
return TableNameMigration
}