This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- Vyora - Simple Supabase Schema | |
| -- YouTube Channel Analytics & Sponsorship Platform | |
| -- Enable UUID extension | |
| CREATE EXTENSION IF NOT EXISTS "uuid-ossp"; | |
| -- ============================================ | |
| -- USERS TABLE | |
| -- ============================================ | |
| CREATE TABLE users ( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Endpoint | |
| uploadRoutes.post( | |
| "/csv", | |
| zValidator("form", createDocumentSchema), | |
| jwtMiddleware, | |
| async (c) => { | |
| const fileData = c.req.valid("form"); | |
| const payload = c.get("jwtPayload"); | |
| console.log(payload.id); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "data": { | |
| "epaperChildEditionByIdDate": [ | |
| { | |
| "id": "19931976", | |
| "title": "Rajasthan Jaipur City 10-09-2025", | |
| "edition_date": "2025-09-10", | |
| "epaper_master_edition": { | |
| "id": 4121001, | |
| "name": { |