From 671c3a765ffc53575f517cef715dc16be5aa43c5 Mon Sep 17 00:00:00 2001 From: MikunoNaka Date: Fri, 11 Jun 2021 17:17:26 +0530 Subject: cleaned up some code and fixed formatter for the client name/address --- server/database/main.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'server/database/main.go') diff --git a/server/database/main.go b/server/database/main.go index de2365c..811a8eb 100644 --- a/server/database/main.go +++ b/server/database/main.go @@ -33,9 +33,10 @@ func StartDB() { init_people, _ := myDatabase.Prepare( `CREATE TABLE IF NOT EXISTS People (id INTEGER PRIMARY KEY AUTOINCREMENT, - Name TEXT, - Phone TEXT, - Email TEXT)`, + Name TEXT, + Address TEXT, + Phone TEXT, + Email TEXT)`, ) init_people.Exec() } -- cgit v1.2.3