From d28ce2593ddb1e17ade4dabcd11455f36b5f57f4 Mon Sep 17 00:00:00 2001 From: Mroik Date: Fri, 3 Apr 2026 07:13:38 +0200 Subject: Add subscription table interaction We need to track which user subscribed to which list. Unlike User and List, we don't need to make a Subscription model, this is because this is a relationship and not an entity of its own. Implement database interaction with subscription. Signed-off-by: Mroik --- src/database.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/database.rs') diff --git a/src/database.rs b/src/database.rs index de77f95..10a5843 100644 --- a/src/database.rs +++ b/src/database.rs @@ -80,5 +80,6 @@ pub trait DBExecutable { #[derive(Debug)] pub enum QueryResult { Empty, + Single(T), Vec(Vec), } -- cgit v1.3