From 8b1d6c6c8b44b70bd3346988f48c5eefea92d55b Mon Sep 17 00:00:00 2001 From: alex Date: Sat, 7 Sep 2024 19:43:02 +0200 Subject: [PATCH] change active to disabled --- models/users.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/users.go b/models/users.go index a2b518e..4445ef0 100644 --- a/models/users.go +++ b/models/users.go @@ -6,7 +6,7 @@ type User struct { Id string `gorm:"primaryKey;type:varchar(36)"` OrganizationId string `gorm:"type:varchar(36)"` State uint8 `gorm:"type:tinyint(1)"` - Active bool `gorm:"type:tinyint(1)"` + Disabled bool `gorm:"type:tinyint(1)"` RoleId string `gorm:"type:varchar(36)"` FirstName string `gorm:"type:varchar(255)"` LastName string `gorm:"type:varchar(255)"`