aboutsummaryrefslogtreecommitdiff
path: root/server/database/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'server/database/main.go')
-rw-r--r--server/database/main.go8
1 files changed, 8 insertions, 0 deletions
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()
}