Sync LMS backend source
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
ALTER TABLE "platforms"
|
||||
ADD COLUMN "default_studio_settings" JSONB NOT NULL DEFAULT '{"workspaceRoot":"~/autonomy-studio/workspaces","giteaBaseUrl":"http://localhost:3000","giteaOwner":"students"}';
|
||||
|
||||
ALTER TABLE "instructor_platforms"
|
||||
ADD COLUMN "studio_settings_override" JSONB;
|
||||
|
||||
UPDATE "instructor_platforms" AS ip
|
||||
SET "studio_settings_override" = p."default_studio_settings"
|
||||
FROM "platforms" AS p
|
||||
WHERE ip."platform_id" = p."id"
|
||||
AND ip."studio_settings_override" IS NULL;
|
||||
Reference in New Issue
Block a user