set twilio api key and secret

This commit is contained in:
m5r
2021-08-08 12:26:15 +08:00
parent 9f213ad71e
commit 0f25c53b50
3 changed files with 58 additions and 18 deletions

View File

@ -0,0 +1,3 @@
-- AlterTable
ALTER TABLE "Organization" ADD COLUMN "twilioApiKey" TEXT,
ADD COLUMN "twilioApiSecret" TEXT;

View File

@ -22,6 +22,8 @@ model Organization {
twilioAccountSid String?
twilioAuthToken String? // TODO: encrypt it with encryptionKey
twilioApiKey String?
twilioApiSecret String? // TODO: encrypt it with encryptionKey
twimlAppSid String?
memberships Membership[]