mirror of
https://github.com/documenso/documenso.git
synced 2025-11-13 00:03:33 +10:00
Add a document distribution setting which will allow us to further configure how recipients currently receive documents.
11 lines
424 B
SQL
11 lines
424 B
SQL
-- 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;
|