add db models, refactor json models, add references in migrations
This commit is contained in:
13
internal/foundry/models/json/language.go
Normal file
13
internal/foundry/models/json/language.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package json
|
||||
|
||||
type Language struct {
|
||||
Id string `json:"id"`
|
||||
Label string `json:"label"`
|
||||
Modules []LangModule `json:"modules"`
|
||||
}
|
||||
|
||||
type LangModule struct {
|
||||
Id string `json:"id"`
|
||||
Label string `json:"label"`
|
||||
Path string `json:"path"`
|
||||
}
|
||||
Reference in New Issue
Block a user