From e2e0b5806533eca12b1a1fb04b3a4aca3679a6e2 Mon Sep 17 00:00:00 2001 From: Albin Vass Date: Tue, 23 Apr 2024 20:51:39 +0200 Subject: [PATCH] Remove schema --- schema/schema.hcl | 52 ----------------------------------------------- 1 file changed, 52 deletions(-) delete mode 100644 schema/schema.hcl diff --git a/schema/schema.hcl b/schema/schema.hcl deleted file mode 100644 index ac8dd7b..0000000 --- a/schema/schema.hcl +++ /dev/null @@ -1,52 +0,0 @@ -enum "split_type" { - schema = schema.expenses - values = ["percent", "even"] -} -table "expenses" { - schema = schema.expenses - - primary_key { - columns = [column.id] - } - - column "id" { - null = false - type = int - } - column "description" { - null = true - type = text - } - column "category" { - null = true - type = varchar(100) - } - column "date" { - null = false - type = timetz - } - column "cost" { - null = false - type = money - } - column "currency" { - null = false - type = varchar(100) - } - column "paid_by" { - null = false - type = varchar(100) - } - column "split_type" { - null = false - type = enum.split_type - } - column "debtors" { - null = false - type = json - } - column "receipt_url" { - null = true - type = text - } -}