auto generate query & models
This commit is contained in:
17
database/models/migrations.gen.go
Normal file
17
database/models/migrations.gen.go
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user