
Core Tables:
artworks stores art information, media urls and references lens and address table.offers for merchantswhich acts as All notifications. Then user subscribes to a notification (unlocking the reward) if they have scanned the AR art for required duration.Security & Access
notifications or insert scans tied to their authenticated user_id.Admin Bypass (Service Role):
service_role key) on the server to safely bypass Row Level Security (RLS).users and manage their notifications (subscriptions/rewards) without ever exposing those permissions to the frontend./admin/dashboard route is used for managing and inserting new artworks, merchants, and offers into the database.