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 --- prisma/migrations/20240128202400_add_doc_info/migration.sql | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 prisma/migrations/20240128202400_add_doc_info/migration.sql (limited to 'prisma/migrations/20240128202400_add_doc_info/migration.sql') diff --git a/prisma/migrations/20240128202400_add_doc_info/migration.sql b/prisma/migrations/20240128202400_add_doc_info/migration.sql new file mode 100644 index 0000000..cb3addb --- /dev/null +++ b/prisma/migrations/20240128202400_add_doc_info/migration.sql @@ -0,0 +1,10 @@ +/* + Warnings: + + - Added the required column `height` to the `ExpenseDocument` table without a default value. This is not possible if the table is not empty. + - Added the required column `width` to the `ExpenseDocument` table without a default value. This is not possible if the table is not empty. + +*/ +-- AlterTable +ALTER TABLE "ExpenseDocument" ADD COLUMN "height" INTEGER NOT NULL, +ADD COLUMN "width" INTEGER NOT NULL; -- cgit v1.3