Add Favorite GET, and POST endpoints

This commit is contained in:
Cameron Cordes
2020-08-07 22:56:29 -04:00
parent 74043c5c6a
commit c774edd7dd
7 changed files with 86 additions and 5 deletions

View File

@@ -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,);