1
0
mirror of https://github.com/pocket-id/pocket-id.git synced 2026-02-15 01:45:06 +00:00

pr feedback

This commit is contained in:
Elias Schneider
2026-01-10 23:53:38 +01:00
parent 0a49c8b699
commit 20ee00df49
8 changed files with 16 additions and 15 deletions

View File

@@ -9,7 +9,7 @@ import (
type UserDto struct {
ID string `json:"id"`
Username string `json:"username"`
Email *string `json:"email" `
Email *string `json:"email"`
EmailVerified bool `json:"emailVerified"`
FirstName string `json:"firstName"`
LastName *string `json:"lastName"`

View File

@@ -1,6 +1,6 @@
CREATE TABLE email_verification_tokens
(
id TEXT UUID KEY,
id UUID PRIMARY KEY,
created_at TIMESTAMPTZ NOT NULL,
token TEXT NOT NULL UNIQUE,
expires_at TIMESTAMPTZ NOT NULL,