make a phone call ~ not really working

This commit is contained in:
m5r
2022-05-24 23:13:08 +02:00
parent c9c1784dd7
commit 8ad21ae9e1
15 changed files with 794 additions and 136 deletions

View File

@ -26,8 +26,9 @@ CREATE TABLE "TwilioAccount" (
"updatedAt" TIMESTAMPTZ(6) NOT NULL,
"subAccountAuthToken" TEXT NOT NULL,
"accountSid" TEXT NOT NULL,
"accountAuthToken" TEXT NOT NULL,
"twimlAppSid" TEXT,
"apiKeySid" TEXT,
"apiKeySecret" TEXT,
"organizationId" TEXT NOT NULL,
CONSTRAINT "TwilioAccount_pkey" PRIMARY KEY ("subAccountSid")

View File

@ -13,8 +13,9 @@ model TwilioAccount {
updatedAt DateTime @updatedAt @db.Timestamptz(6)
subAccountAuthToken String
accountSid String
accountAuthToken String
twimlAppSid String?
apiKeySid String?
apiKeySecret String?
organizationId String @unique
organization Organization @relation(fields: [organizationId], references: [id], onDelete: Cascade)