Skip to content

Commit

Permalink
Fix typo on column
Browse files Browse the repository at this point in the history
  • Loading branch information
boozec committed May 23, 2024
1 parent 2b6dc14 commit cdcb8bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/models/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
}

0 comments on commit cdcb8bc

Please sign in to comment.