merge shop and looted tables
This commit is contained in:
@@ -26,7 +26,7 @@ table! {
|
||||
}
|
||||
|
||||
table! {
|
||||
looted (id) {
|
||||
loot (id) {
|
||||
id -> Integer,
|
||||
name -> Text,
|
||||
base_price -> Integer,
|
||||
@@ -54,26 +54,16 @@ table! {
|
||||
}
|
||||
}
|
||||
|
||||
table! {
|
||||
shop (id) {
|
||||
id -> Integer,
|
||||
name -> Text,
|
||||
base_price -> Integer,
|
||||
}
|
||||
}
|
||||
|
||||
joinable!(claims -> looted (loot_id));
|
||||
joinable!(claims -> players (player_id));
|
||||
joinable!(history -> players (player_id));
|
||||
joinable!(looted -> players (owner_id));
|
||||
joinable!(loot -> players (owner_id));
|
||||
joinable!(notifications -> players (player_id));
|
||||
|
||||
allow_tables_to_appear_in_same_query!(
|
||||
claims,
|
||||
history,
|
||||
items,
|
||||
looted,
|
||||
loot,
|
||||
notifications,
|
||||
players,
|
||||
shop,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user