Request files go in Requests/<type> (Chapters, Events...). Media → Files shows a tab per folder under Media, up to three deep, and can make, rename (files follow) and delete empty folders, move a file with its Folder dropdown, and upload into the folder showing; Choose a file has the same tabs. A folder made, or a file moved, in Drive by hand is followed on the next look (migration 050 records each file's folder). Deletes now move to Drive's trash: a shared drive's Content manager, the service account's role, can't delete outright, so request and file deletes would have failed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
10 lines
759 B
SQL
10 lines
759 B
SQL
-- ═══════════════════════════════════════════════════════════════
|
|
-- 050 FOLDERS FOR DRIVE FILES
|
|
--
|
|
-- The folder a file is in, under the shared drive's Media folder:
|
|
-- '' for Media itself, 'Slides' or 'Slides/2026' below it. Made,
|
|
-- renamed and deleted from Tools → Media → Files (routes/files.js);
|
|
-- a file moved in Drive by hand is followed on the next look.
|
|
-- ═══════════════════════════════════════════════════════════════
|
|
|
|
ALTER TABLE drive_files ADD COLUMN folder TEXT NOT NULL DEFAULT '';
|