added tick to messages

This commit is contained in:
2022-01-29 20:46:11 +01:00
parent 2f15560d84
commit 3bdcdecb68
10 changed files with 271 additions and 5 deletions

View File

@@ -11,6 +11,8 @@ const (
FieldMessage = "message"
// FieldAllChat holds the string denoting the all_chat field in the database.
FieldAllChat = "all_chat"
// FieldTick holds the string denoting the tick field in the database.
FieldTick = "tick"
// EdgeMatchPlayer holds the string denoting the match_player edge name in mutations.
EdgeMatchPlayer = "match_player"
// Table holds the table name of the messages in the database.
@@ -29,6 +31,7 @@ var Columns = []string{
FieldID,
FieldMessage,
FieldAllChat,
FieldTick,
}
// ForeignKeys holds the SQL foreign-keys that are owned by the "messages"