Feature/add balance to account (#193)
* Add balance attribute and calculate total balance * Update changelog
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
-- AlterEnum
|
||||
ALTER TYPE "AccountType" ADD VALUE 'CASH';
|
||||
|
||||
-- AlterTable
|
||||
ALTER TABLE "Account" ADD COLUMN "balance" DOUBLE PRECISION NOT NULL DEFAULT 0,
|
||||
ADD COLUMN "currency" "Currency" NOT NULL DEFAULT E'USD';
|
Reference in New Issue
Block a user