Add Favorite GET, and POST endpoints
This commit is contained in:
1
migrations/2020-08-08-015035_favorites/down.sql
Normal file
1
migrations/2020-08-08-015035_favorites/down.sql
Normal file
@@ -0,0 +1 @@
|
||||
DROP TABLE favorites
|
||||
5
migrations/2020-08-08-015035_favorites/up.sql
Normal file
5
migrations/2020-08-08-015035_favorites/up.sql
Normal file
@@ -0,0 +1,5 @@
|
||||
CREATE TABLE favorites (
|
||||
id INTEGER PRIMARY KEY NOT NULL,
|
||||
userid INTEGER NOT NULL,
|
||||
path TEXT NOT NULL
|
||||
)
|
||||
Reference in New Issue
Block a user