From 2b36ec27962fdc833892055d99878edd4ee509e2 Mon Sep 17 00:00:00 2001 From: Artur Galyamov Date: Thu, 28 Jul 2022 19:43:03 +0500 Subject: [PATCH] =?UTF-8?q?=D0=A3=D0=B2=D0=B5=D0=BB=D0=B8=D1=87=D0=B5?= =?UTF-8?q?=D0=BD=20=D1=80=D0=B0=D0=B7=D0=BC=D0=B5=D1=80=20=D0=9E=20=D1=81?= =?UTF-8?q?=D0=B5=D0=B1=D0=B5=20#4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- models/user/user.go | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/models/user/user.go b/models/user/user.go index 9312a4e5b5..ac70c242b5 100644 --- a/models/user/user.go +++ b/models/user/user.go @@ -89,17 +89,17 @@ type User struct { // is to change his/her password after registration. MustChangePassword bool `xorm:"NOT NULL DEFAULT false"` - LoginType auth.Type - LoginSource int64 `xorm:"NOT NULL DEFAULT 0"` - LoginName string - Type UserType - Location string + LoginType auth.Type + LoginSource int64 `xorm:"NOT NULL DEFAULT 0"` + LoginName string + Type UserType + Location string LocationCoordinate string - Website string - Rands string `xorm:"VARCHAR(32)"` - Salt string `xorm:"VARCHAR(32)"` - Language string `xorm:"VARCHAR(5)"` - Description string + Website string + Rands string `xorm:"VARCHAR(32)"` + Salt string `xorm:"VARCHAR(32)"` + Language string `xorm:"VARCHAR(5)"` + Description string `xorm:"TEXT"` CreatedUnix timeutil.TimeStamp `xorm:"INDEX created"` UpdatedUnix timeutil.TimeStamp `xorm:"INDEX updated"`