diff --git a/server/prisma/migrations/20240914160042_classifications_update/migration.sql b/server/prisma/migrations/20240914160042_classifications_update/migration.sql new file mode 100644 index 000000000..ad075328b --- /dev/null +++ b/server/prisma/migrations/20240914160042_classifications_update/migration.sql @@ -0,0 +1,11 @@ +-- AlterTable +ALTER TABLE `content` MODIFY `id` BINARY(16) NOT NULL DEFAULT (uuid_to_bin(uuid(), 1)); + +-- AlterTable +ALTER TABLE `documentSubmittedResponses` MODIFY `id` BINARY(16) NOT NULL DEFAULT (uuid_to_bin(uuid(), 1)); + +-- AlterTable +ALTER TABLE `documents` MODIFY `id` BINARY(16) NOT NULL DEFAULT (uuid_to_bin(uuid(), 1)); + +-- AlterTable +ALTER TABLE `users` MODIFY `userId` BINARY(16) NOT NULL DEFAULT (uuid_to_bin(uuid(), 1)); diff --git a/server/src/model.ts b/server/src/model.ts index bc36af0bb..ba65f97ba 100644 --- a/server/src/model.ts +++ b/server/src/model.ts @@ -92,6 +92,9 @@ export async function createActivity( } } + const sourcePrefill = `
Your content goes here! Example: What is