From cdcb8bcad2a5cdc35c37d4db8d7467b08099f747 Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Thu, 23 May 2024 14:02:34 +0200 Subject: [PATCH] Fix typo on column --- internal/models/user.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/models/user.go b/internal/models/user.go index 3e7867d..369ca2d 100644 --- a/internal/models/user.go +++ b/internal/models/user.go @@ -9,6 +9,6 @@ type User struct { Username string `gorm:"column:username" gorm:"uniqueIndex"` Email string `gorm:"column:email" gorm:"uniqueIndex"` Password string `gorm:"column:password"` - Address *string `gorm:"colum:address;null"` - ProntogramUsername *string `gorm:"colum:prontogram_username;null"` + Address *string `gorm:"column:address;null"` + ProntogramUsername *string `gorm:"column:prontogram_username;null"` }