Add Favorite GET, and POST endpoints
This commit is contained in:
1 parent
74043c5c6a
commit
c774edd7dd
7 files changed
+86
-5
No files matched your search
@@ -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