From b000b2237af35fad5267e24a45f35897bd4d7d6e Mon Sep 17 00:00:00 2001 From: MikunoNaka Date: Sun, 13 Jun 2021 23:41:06 +0530 Subject: implement API route for users --- server/database/main.go | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'server/database/main.go') diff --git a/server/database/main.go b/server/database/main.go index 811a8eb..4eb1a91 100644 --- a/server/database/main.go +++ b/server/database/main.go @@ -39,5 +39,13 @@ func StartDB() { Email TEXT)`, ) init_people.Exec() + + init_users, _ := myDatabase.Prepare( + `CREATE TABLE IF NOT EXISTS Users + (id INTEGER PRIMARY KEY AUTOINCREMENT, + Name TEXT, + Email TEXT)`, + ) + init_users.Exec() } -- cgit v1.2.3