mirror of
https://github.com/documenso/documenso.git
synced 2025-11-13 00:03:33 +10:00
feat: add document distribution setting (#1437)
Add a document distribution setting which will allow us to further configure how recipients currently receive documents.
This commit is contained in:
@ -0,0 +1,10 @@
|
||||
-- CreateEnum
|
||||
CREATE TYPE "DocumentDistributionMethod" AS ENUM ('EMAIL', 'NONE');
|
||||
|
||||
-- AlterTable
|
||||
ALTER TABLE "DocumentMeta" ADD COLUMN "distributionMethod" "DocumentDistributionMethod" NOT NULL DEFAULT 'EMAIL',
|
||||
ADD COLUMN "emailSettings" JSONB;
|
||||
|
||||
-- AlterTable
|
||||
ALTER TABLE "TemplateMeta" ADD COLUMN "distributionMethod" "DocumentDistributionMethod" NOT NULL DEFAULT 'EMAIL',
|
||||
ADD COLUMN "emailSettings" JSONB;
|
||||
Reference in New Issue
Block a user