add new models, change migration files, prepare to add all new tables from models
This commit is contained in:
19
internal/foundry/temp_models/db/foundry_data.go
Normal file
19
internal/foundry/temp_models/db/foundry_data.go
Normal file
@@ -0,0 +1,19 @@
|
||||
package db
|
||||
|
||||
import "time"
|
||||
|
||||
type FoundryDataType string
|
||||
|
||||
const (
|
||||
SetupType = FoundryDataType("setup")
|
||||
GameType = FoundryDataType("game")
|
||||
)
|
||||
|
||||
type FoundryData struct {
|
||||
ID uint
|
||||
|
||||
Type FoundryDataType
|
||||
Setup *Setup
|
||||
Game *Game
|
||||
CreatedAt time.Time
|
||||
}
|
||||
Reference in New Issue
Block a user