Merge branch 'migration-vanilia' of https://github.com/dikstub-rssa/simrs-be into feat/sync-vanili
# Conflicts: # cmd/main-migration/migrations/atlas.sum
This commit is contained in:
@@ -10,7 +10,7 @@ import (
|
||||
|
||||
type User struct {
|
||||
ecore.Main // adjust this according to the needs
|
||||
Name string `json:"name" gorm:"unique;not null;size:25"`
|
||||
Name string `json:"name" gorm:"unique;not null;size:50"`
|
||||
Password string `json:"password" gorm:"not null;size:255"`
|
||||
Status_Code erc.UserStatusCode `json:"status_code" gorm:"not null;size:10"`
|
||||
ContractPosition_Code erg.ContractPositionCode `json:"contractPosition_code" gorm:"not null;size:20"`
|
||||
|
||||
Reference in New Issue
Block a user