amuse.git

commit eae2baeb428cfb3ca2e0d50282da5e1b2eb8411a

Author: Adam <git@apiote.tk>

fixup recovery_codes

 db/db.go | 2 +-


diff --git a/db/db.go b/db/db.go
index 5e68a6438645f4c74e84ecf318bc2f2fd5263a9c..a9ebc7135c0c3a8d70f40840f84d62d2aca6f413 100644
--- a/db/db.go
+++ b/db/db.go
@@ -59,7 +59,7 @@ 	_, err = db.Exec(`create table cache(uri text primary key, etag text, date date, response blob, last_hit date)`)
 	if err != nil && err.Error() != "table cache already exists" {
 		return err
 	}
-	_, err = db.Exec(`create table users(username text primary key, password text, sfa text, is_admin bool, recoveryCodes text, avatar blob, avatar_small blob, timezone text)`)
+	_, err = db.Exec(`create table users(username text primary key, password text, sfa text, is_admin bool, recovery_codes text, avatar blob, avatar_small blob, timezone text)`)
 	if err != nil && err.Error() != "table users already exists" {
 		return err
 	}