Files
classroomio/supabase/migrations/20250909000000_lesson_pdf.sql
T
Nwosu EmmanuelandRotimi Best 937f1d8155 feat: add documents to Lesson materials (#572)
* feat: Initial logic for the pdf upload

* feat: uploa logic, translations and ui flow complete

* chore:console log cleanup

* feat: fixed upload issue and added cancel upload button

* feat: fixing the download document ish

* feat: All done and ready for use

* feat: updated the document viewing logic

* feat: some minor refactor

* feat: added migration file

* fix: dark mode, translations, restyling,

---------

Co-authored-by: Rotimi Best <[email protected]>
2025-09-10 11:39:06 +01:00

5 lines
209 B
SQL

-- Migration: Add documents column to lesson table
-- Description: Add a JSONB column to store document metadata for lessons
alter table "public"."lesson" add column documents jsonb null default '[]'::jsonb;