From e946f0e51cbe72cec6bdf599c8ee9c1be1f64e0b Mon Sep 17 00:00:00 2001 From: MikunoNaka Date: Fri, 2 Jul 2021 17:06:26 +0530 Subject: working on the form info like date and stuff --- server/database/database.go | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'server/database/database.go') diff --git a/server/database/database.go b/server/database/database.go index 2339d29..5e3e940 100644 --- a/server/database/database.go +++ b/server/database/database.go @@ -47,5 +47,13 @@ func InitDB() { Email TEXT)`, ) init_users.Exec() + + init_invoices, _ := myDatabase.Prepare( + `CREATE TABLE IF NOT EXISTS Invoices + (id INTEGER PRIMARY KEY AUTOINCREMENT, + Data BLOB NOT NULL, + Created_on DATETIME)`, + ) + init_invoices.Exec() } -- cgit v1.2.3