What is Nostr?
🍄🌈🎮💻🚲🥓🎃💀🏴🛻🇺🇸 /
npub1j52…jsn5
2024-08-15 20:51:36
in reply to nevent1q…tqya

🍄🌈🎮💻🚲🥓🎃💀🏴🛻🇺🇸 on Nostr: They always say "design your schema for your query pattern", and it helps to take a ...

They always say "design your schema for your query pattern", and it helps to take a step back and remind myself what I need to do this for.

I am saving this User's achievements to my database so that the next time I check I'll notice if there are new ones, and if so I'll have some ActivityPub messages to send to the User's subscribers.

Technically, I could just store a "lastAchievement" timestamp and then filter the User's recent achievements earlier than that.
Author Public Key
npub1j5203u6ym5cf89h0xm4feezxxvt9cf6jcdwtn3fvq9zw4rs54rqq6cjsn5