From cd769b6c466224116044b3e8ce3ac4289838e2df Mon Sep 17 00:00:00 2001
From: itsscb <dev@itsscb.de>
Date: Mon, 18 Sep 2023 21:11:52 +0200
Subject: [PATCH] fix/changes mails attachment field to bigserial

---
 db/migration/000001_init_schema.up.sql | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/db/migration/000001_init_schema.up.sql b/db/migration/000001_init_schema.up.sql
index 0fda177..ba86b12 100644
--- a/db/migration/000001_init_schema.up.sql
+++ b/db/migration/000001_init_schema.up.sql
@@ -6,7 +6,7 @@ CREATE TABLE "mails" (
   "timestamp" timestamptz NOT NULL DEFAULT (now()),
   "subject" varchar NOT NULL,
   "body" text NOT NULL,
-  "attachments" integer
+  "attachments" bigserial
 );
 
 CREATE TABLE "customers" (