From 13b2cc066ed2acf4fef71d7f793eb98231b7b67e Mon Sep 17 00:00:00 2001 From: Marco Realacci Date: Thu, 22 Dec 2022 17:24:44 +0100 Subject: [PATCH] Remove commented line of code in database --- service/database/database.go | 1 - 1 file changed, 1 deletion(-) diff --git a/service/database/database.go b/service/database/database.go index 2796d56..0aeb9ad 100644 --- a/service/database/database.go +++ b/service/database/database.go @@ -100,7 +100,6 @@ func New(db *sql.DB) (AppDatabase, error) { //todo: check for all the tables, not just users err := db.QueryRow(`SELECT name FROM sqlite_master WHERE type='table' AND name='users';`).Scan(&tableName) if errors.Is(err, sql.ErrNoRows) { - //fmt.Println("database is empty, creating structure") sqlStmt := `CREATE TABLE "users" ( "uid" TEXT NOT NULL, "name" TEXT NOT NULL UNIQUE,