diff --git a/pkg/userstore/migrations/1741770848_init.up.sql b/pkg/userstore/migrations/1741770848_init.up.sql index 64c8d2d..6f66cd0 100644 --- a/pkg/userstore/migrations/1741770848_init.up.sql +++ b/pkg/userstore/migrations/1741770848_init.up.sql @@ -15,5 +15,5 @@ CREATE TABLE mail ( validationCode TEXT NOT NULL UNIQUE, isValidated BOOLEAN NOT NULL DEFAULT 0, isPrimary BOOLEAN NOT NULL DEFAULT 0 -) +); diff --git a/pkg/userstore/users_test.go b/pkg/userstore/users_test.go index 3e6a346..7b62e94 100644 --- a/pkg/userstore/users_test.go +++ b/pkg/userstore/users_test.go @@ -57,7 +57,6 @@ func TestWriteUser(t *testing.T) { }) } - // TODO: Check if pw hash are not unique var pw1 string var pw2 string err := store.db.QueryRow("SELECT password FROM users WHERE id = 1").Scan(&pw1)