add new models, change migration files, prepare to add all new tables from models
This commit is contained in:
28
internal/foundry/temp_models/db/message.go
Normal file
28
internal/foundry/temp_models/db/message.go
Normal file
@@ -0,0 +1,28 @@
|
||||
package db
|
||||
|
||||
type Message struct {
|
||||
ID string
|
||||
|
||||
Blind bool
|
||||
Emote bool
|
||||
Style int
|
||||
Timestamp int64
|
||||
Content string
|
||||
Author string
|
||||
Type string
|
||||
Flavor string
|
||||
Sound string
|
||||
Stats Stats
|
||||
Speaker Speaker
|
||||
Whisper []string
|
||||
Rolls []string
|
||||
}
|
||||
|
||||
type Speaker struct {
|
||||
ID uint
|
||||
|
||||
Scene string
|
||||
Actor string
|
||||
Token string
|
||||
Alias string
|
||||
}
|
||||
Reference in New Issue
Block a user