preps historic events management
This commit is contained in:
@@ -7,6 +7,16 @@ table! {
|
||||
}
|
||||
}
|
||||
|
||||
table! {
|
||||
history (id) {
|
||||
id -> Integer,
|
||||
player_id -> Integer,
|
||||
event_date -> Timestamp,
|
||||
text -> Text,
|
||||
updates -> Nullable<Text>,
|
||||
}
|
||||
}
|
||||
|
||||
table! {
|
||||
items (id) {
|
||||
id -> Integer,
|
||||
@@ -46,11 +56,13 @@ table! {
|
||||
|
||||
joinable!(claims -> looted (loot_id));
|
||||
joinable!(claims -> players (player_id));
|
||||
joinable!(history -> players (player_id));
|
||||
joinable!(looted -> players (owner_id));
|
||||
joinable!(notifications -> players (player_id));
|
||||
|
||||
allow_tables_to_appear_in_same_query!(
|
||||
claims,
|
||||
history,
|
||||
items,
|
||||
looted,
|
||||
notifications,
|
||||
|
||||
Reference in New Issue
Block a user