From 5d2222d9fa782b94ba6787e5c6b23aab1e468308 Mon Sep 17 00:00:00 2001 From: MikunoNaka Date: Thu, 24 Jun 2021 20:00:10 +0530 Subject: Multiple minor bug fixes and convert more compnents to TS --- server/database/database.go | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'server/database/database.go') diff --git a/server/database/database.go b/server/database/database.go index c2c0dfe..f8d9092 100644 --- a/server/database/database.go +++ b/server/database/database.go @@ -20,13 +20,13 @@ func InitDB() { init_items, _ := myDatabase.Prepare( `CREATE TABLE IF NOT EXISTS Items (id INTEGER PRIMARY KEY AUTOINCREMENT, - Model TEXT NOT NULL, - Desc TEXT, - Price REAL, - Hsn BLOB, - Gst REAL, - Category TEXT, - Brand TEXT)`, + Model TEXT NOT NULL, + Desc TEXT, + UnitPrice REAL, + HSN BLOB, + TotalGST REAL, + Category TEXT, + Brand TEXT)`, ) init_items.Exec() -- cgit v1.2.3