update tables primary key to use serial/integer

This commit is contained in:
juancwu 2025-12-17 11:25:53 -05:00
commit f251f52fa9
8 changed files with 14 additions and 14 deletions

View file

@ -3,8 +3,8 @@ package model
import "time"
type Profile struct {
ID string `db:"id"`
UserID string `db:"user_id"`
ID uint64 `db:"id"`
UserID uint64 `db:"user_id"`
Name string `db:"name"`
CreatedAt time.Time `db:"created_at"`
UpdatedAt time.Time `db:"updated_at"`