diff options
Diffstat (limited to 'server/database/database.go')
-rw-r--r-- | server/database/database.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/server/database/database.go b/server/database/database.go index 2339d29..5e3e940 100644 --- a/server/database/database.go +++ b/server/database/database.go @@ -47,5 +47,13 @@ func InitDB() { Email TEXT)`, ) init_users.Exec() + + init_invoices, _ := myDatabase.Prepare( + `CREATE TABLE IF NOT EXISTS Invoices + (id INTEGER PRIMARY KEY AUTOINCREMENT, + Data BLOB NOT NULL, + Created_on DATETIME)`, + ) + init_invoices.Exec() } |