add new models, change migration files, prepare to add all new tables from models
This commit is contained in:
37
internal/foundry/temp_models/db/setup.go
Normal file
37
internal/foundry/temp_models/db/setup.go
Normal file
@@ -0,0 +1,37 @@
|
||||
package db
|
||||
|
||||
type Setup struct {
|
||||
ID uint
|
||||
|
||||
IsAdmin bool
|
||||
IsSetup bool
|
||||
CoreUpdate CoreUpdate
|
||||
FeaturedContent FeaturedContent
|
||||
Files Files
|
||||
Options SetupOptions
|
||||
Release Release
|
||||
Languages []SetupLanguage
|
||||
Modules []Module
|
||||
News []News
|
||||
PackageWarnings []PackageWarning
|
||||
Systems []System
|
||||
Worlds []World
|
||||
}
|
||||
|
||||
type FeaturedContent struct {
|
||||
ID uint
|
||||
|
||||
Title string
|
||||
Caption string
|
||||
URL string
|
||||
Image string
|
||||
}
|
||||
|
||||
type News struct {
|
||||
ID uint
|
||||
|
||||
Title string
|
||||
Caption string
|
||||
URL string
|
||||
Image string
|
||||
}
|
||||
Reference in New Issue
Block a user