db, add channel and feed; user.get_feeds

Adds the primary functionality for channel and feed

Also adds a function to user to get the feeds associated with a user.
This commit is contained in:
Julia Lange 2026-02-05 13:59:34 -08:00
parent 292b974f1e
commit ac6e71eb62
Signed by: Julia
SSH key fingerprint: SHA256:5DJcfxa5/fKCYn57dcabJa2vN2e6eT0pBerYi5SUbto
7 changed files with 1400 additions and 17 deletions

View file

@ -1,5 +1,9 @@
mod user;
pub use user::User;
mod feed;
pub use feed::Feed;
mod channel;
pub use channel::Channel;
macro_rules! define_key {
($name:ident) => {
@ -9,3 +13,5 @@ macro_rules! define_key {
}
define_key!(UserKey);
define_key!(FeedKey);
define_key!(ChannelKey);