add new models, change migration files, prepare to add all new tables from models
This commit is contained in:
20
internal/foundry/temp_models/db/update.go
Normal file
20
internal/foundry/temp_models/db/update.go
Normal file
@@ -0,0 +1,20 @@
|
||||
package db
|
||||
|
||||
type CoreUpdate struct {
|
||||
ID uint
|
||||
|
||||
HasUpdate bool
|
||||
CanUpdate bool
|
||||
CouldReachWebsite bool
|
||||
SlowResponse bool
|
||||
Version string
|
||||
Channel string
|
||||
WillDisableModules bool
|
||||
}
|
||||
|
||||
type SystemUpdate struct {
|
||||
ID uint
|
||||
|
||||
HasUpdate bool
|
||||
Version string
|
||||
}
|
||||
Reference in New Issue
Block a user