adds new 'shop' table
This commit is contained in:
@@ -54,6 +54,14 @@ 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));
|
||||
@@ -67,4 +75,5 @@ allow_tables_to_appear_in_same_query!(
|
||||
looted,
|
||||
notifications,
|
||||
players,
|
||||
shop,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user