aboutsummaryrefslogtreecommitdiff
path: root/server/database/database.go
diff options
context:
space:
mode:
authorMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-07-05 10:10:37 +0530
committerMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-07-05 10:10:37 +0530
commit1b5622ba01eb30768c49dcb9b7ac155cca0504e2 (patch)
treeb4d42f99546f27c45332a10f7eb6ec199e93a5ce /server/database/database.go
parent1fcb52a35dd3fb6b2c9d67c6b35dceca6bb070aa (diff)
Deleted all the User API routes, planning to make openbills single-user
Diffstat (limited to 'server/database/database.go')
-rw-r--r--server/database/database.go8
1 files changed, 0 insertions, 8 deletions
diff --git a/server/database/database.go b/server/database/database.go
index 5e3e940..0499b68 100644
--- a/server/database/database.go
+++ b/server/database/database.go
@@ -40,14 +40,6 @@ func InitDB() {
)
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()
-
init_invoices, _ := myDatabase.Prepare(
`CREATE TABLE IF NOT EXISTS Invoices
(id INTEGER PRIMARY KEY AUTOINCREMENT,