From d43e731fe191d7e35d96847fe095c94555dd8ca6 Mon Sep 17 00:00:00 2001 From: Sebastien Castiel Date: Sun, 28 Jan 2024 18:51:29 -0500 Subject: Attach documents to expenses (#64) * Upload documents to receipts * Improve documents * Make the feature opt-in * Fix file name issue --- .../migrations/20240128192510_update_document_urls/migration.sql | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 prisma/migrations/20240128192510_update_document_urls/migration.sql (limited to 'prisma/migrations/20240128192510_update_document_urls') diff --git a/prisma/migrations/20240128192510_update_document_urls/migration.sql b/prisma/migrations/20240128192510_update_document_urls/migration.sql new file mode 100644 index 0000000..1f12259 --- /dev/null +++ b/prisma/migrations/20240128192510_update_document_urls/migration.sql @@ -0,0 +1,9 @@ +/* + Warnings: + + - The `documentUrls` column on the `Expense` table would be dropped and recreated. This will lead to data loss if there is data in the column. + +*/ +-- AlterTable +ALTER TABLE "Expense" DROP COLUMN "documentUrls", +ADD COLUMN "documentUrls" JSONB[] DEFAULT ARRAY[]::JSONB[]; -- cgit v1.3