diff options
Diffstat (limited to 'server/database')
-rw-r--r-- | server/database/database.go (renamed from server/database/main.go) | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/database/main.go b/server/database/database.go index 4eb1a91..c2c0dfe 100644 --- a/server/database/main.go +++ b/server/database/database.go @@ -14,7 +14,7 @@ import ( ) var myDatabase *sql.DB -func StartDB() { +func InitDB() { myDatabase, _ = sql.Open("sqlite3", "./openbills.db") init_items, _ := myDatabase.Prepare( |