Add Favorite GET, and POST endpoints
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
table! {
|
||||
favorites (id) {
|
||||
id -> Integer,
|
||||
userid -> Integer,
|
||||
path -> Text,
|
||||
}
|
||||
}
|
||||
|
||||
table! {
|
||||
users (id) {
|
||||
id -> Integer,
|
||||
@@ -5,3 +13,5 @@ table! {
|
||||
password -> Text,
|
||||
}
|
||||
}
|
||||
|
||||
allow_tables_to_appear_in_same_query!(favorites, users,);
|
||||
|
||||
Reference in New Issue
Block a user