add new models, change migration files, prepare to add all new tables from models
This commit is contained in:
30
internal/foundry/temp_models/db/table.go
Normal file
30
internal/foundry/temp_models/db/table.go
Normal file
@@ -0,0 +1,30 @@
|
||||
package db
|
||||
|
||||
type Table struct {
|
||||
ID string
|
||||
|
||||
Name string
|
||||
Description string
|
||||
Formula string
|
||||
Img string
|
||||
Folder string
|
||||
Sort int
|
||||
Replacement bool
|
||||
DisplayRoll bool
|
||||
Stats Stats
|
||||
Ownership []OwnershipString
|
||||
Results []TableResult
|
||||
}
|
||||
|
||||
type TableResult struct {
|
||||
ID string
|
||||
|
||||
Type string
|
||||
Img string
|
||||
Description string
|
||||
Name string
|
||||
Weight int
|
||||
Drawn bool
|
||||
Stats Stats
|
||||
Range []int
|
||||
}
|
||||
Reference in New Issue
Block a user