feat(arabot): make vcs when creating groups in outreach

This commit is contained in:
Anthony Berg
2024-02-13 21:36:41 +00:00
parent c82d256be4
commit f4655829e2
6 changed files with 73 additions and 7 deletions

View File

@@ -0,0 +1,8 @@
/*
Warnings:
- Added the required column `channelId` to the `StatRole` table without a default value. This is not possible if the table is not empty.
*/
-- AlterTable
ALTER TABLE "StatRole" ADD COLUMN "channelId" TEXT NOT NULL;

View File

@@ -222,9 +222,10 @@ model Stat {
}
model StatRole {
stat Stat @relation(fields: [statId], references: [id])
statId Int @id
roleId String
stat Stat @relation(fields: [statId], references: [id])
statId Int @id
roleId String
channelId String
}
model ParticipantStat {