From 0a8e56f80033ce889b38b01f2287cd6fbbe36dd6 Mon Sep 17 00:00:00 2001
From: Sebastien Castiel <sebastien@castiel.me>
Date: Mon, 8 Jan 2024 18:11:11 +0100
Subject: Add splitmode and shares to expenses (#11)

* Add splitmode and shares to expenses

* Update balances based on shares

* Change field size

* Form validation

* Redesign expense form

* Split unevenly by amount
---
 prisma/migrations/20231215203936_add_shares_in_expenses/migration.sql | 2 ++
 1 file changed, 2 insertions(+)
 create mode 100644 prisma/migrations/20231215203936_add_shares_in_expenses/migration.sql

(limited to 'prisma/migrations/20231215203936_add_shares_in_expenses/migration.sql')

diff --git a/prisma/migrations/20231215203936_add_shares_in_expenses/migration.sql b/prisma/migrations/20231215203936_add_shares_in_expenses/migration.sql
new file mode 100644
index 0000000..ecf7a04
--- /dev/null
+++ b/prisma/migrations/20231215203936_add_shares_in_expenses/migration.sql
@@ -0,0 +1,2 @@
+-- AlterTable
+ALTER TABLE "ExpensePaidFor" ADD COLUMN     "shares" INTEGER NOT NULL DEFAULT 1;
-- 
cgit v1.3

