add new models, change migration files, prepare to add all new tables from models
This commit is contained in:
40
internal/foundry/temp_models/db/module.go
Normal file
40
internal/foundry/temp_models/db/module.go
Normal file
@@ -0,0 +1,40 @@
|
||||
package db
|
||||
|
||||
type Module struct {
|
||||
ID string
|
||||
|
||||
Title string
|
||||
Description string
|
||||
URL string
|
||||
License string
|
||||
Readme string
|
||||
Bugs string
|
||||
Changelog string
|
||||
Version string
|
||||
Socket bool
|
||||
Manifest string
|
||||
Download string
|
||||
Protected bool
|
||||
Exclusive bool
|
||||
PersistentStorage bool
|
||||
CoreTranslation bool
|
||||
Library bool
|
||||
Availability int
|
||||
Locked bool
|
||||
Owned bool
|
||||
HasStorage bool
|
||||
Active bool
|
||||
DocumentTypes DocumentTypes
|
||||
Relationships Relationships
|
||||
Compatibility Compatibility
|
||||
Authors []Author
|
||||
Media []Media
|
||||
Scripts []string
|
||||
Esmodules []string
|
||||
Styles []Style
|
||||
Languages []Language
|
||||
Packs []Pack
|
||||
PackFolders []Folder
|
||||
Tags []string
|
||||
// ModulesFlags ModulesFlags `json:"flags,omitempty"`
|
||||
}
|
||||
Reference in New Issue
Block a user