diff options
| author | Sebastien Castiel <sebastien@castiel.me> | 2024-01-28 18:51:29 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-28 18:51:29 -0500 |
| commit | d43e731fe191d7e35d96847fe095c94555dd8ca6 (patch) | |
| tree | b8bc3f99770a47ec0343f642ca04e727f7abd716 /prisma/migrations/20240128192510_update_document_urls/migration.sql | |
| parent | 11d2e298e8cc5cac07aa2c60e194bf4460cefb21 (diff) | |
Attach documents to expenses (#64)
* Upload documents to receipts
* Improve documents
* Make the feature opt-in
* Fix file name issue
Diffstat (limited to 'prisma/migrations/20240128192510_update_document_urls/migration.sql')
| -rw-r--r-- | prisma/migrations/20240128192510_update_document_urls/migration.sql | 9 |
1 files changed, 9 insertions, 0 deletions
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[]; |
