Initial commit: YouTube Studio Flow (backend, frontend, infrastructure, docs)
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
-- Rename youtubeHandle -> youtubeLink for consistency with other platform fields
|
||||
ALTER TABLE "Collaborator" RENAME COLUMN "youtubeHandle" TO "youtubeLink";
|
||||
|
||||
-- Convert existing handle values (@handle or handle) to full YouTube URLs
|
||||
UPDATE "Collaborator"
|
||||
SET "youtubeLink" = 'https://www.youtube.com/@' || LTRIM("youtubeLink", '@')
|
||||
WHERE "youtubeLink" IS NOT NULL
|
||||
AND "youtubeLink" != ''
|
||||
AND "youtubeLink" NOT LIKE 'https://%';
|
||||
Reference in New Issue
Block a user