aboutsummaryrefslogtreecommitdiff
path: root/server/database/main.go
diff options
context:
space:
mode:
authorMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-06-11 17:17:26 +0530
committerMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-06-11 17:17:26 +0530
commit671c3a765ffc53575f517cef715dc16be5aa43c5 (patch)
tree4f6d7ea1059f339bef6e245638fdb52cd0363844 /server/database/main.go
parent33c10cfa027d769c1d02a54bad766f431b1196ee (diff)
cleaned up some code and fixed formatter for the client name/address
Diffstat (limited to 'server/database/main.go')
-rw-r--r--server/database/main.go7
1 files changed, 4 insertions, 3 deletions
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()
}