add database models and queries for user management

This commit is contained in:
2025-08-10 10:39:27 +03:00
parent 5d80a68b44
commit 07d3ea44ea
4 changed files with 163 additions and 0 deletions

View File

@ -0,0 +1,19 @@
// Code generated by sqlc. DO NOT EDIT.
// versions:
// sqlc v1.28.0
package db
import (
"time"
"github.com/google/uuid"
)
type User struct {
Uuid uuid.UUID `json:"uuid"`
PhoneNumber string `json:"phone_number"`
CreatedAt time.Time `json:"created_at"`
Verified bool `json:"verified"`
VerifiedAt *time.Time `json:"verified_at"`
}