MSP-1538 add db migration
This commit is contained in:
1 parent
0d5b55f3a1
commit
060c5a09de
4 files changed
+37
-14
No files matched your search
+1
-8
@@ -10,6 +10,7 @@ type User struct {
|
||||
LastName string
|
||||
Email string
|
||||
Password string
|
||||
Blocked bool
|
||||
UpdatedAt time.Time
|
||||
CreatedAt time.Time
|
||||
}
|
||||
@@ -22,14 +23,6 @@ type SudirUser struct {
|
||||
Email string
|
||||
}
|
||||
|
||||
type CreateUser struct {
|
||||
RoleId int
|
||||
FirstName string
|
||||
LastName string
|
||||
Email string
|
||||
Password string
|
||||
}
|
||||
|
||||
type UpdateUser struct {
|
||||
RoleId int
|
||||
FirstName string
|
||||
|
||||
Reference in new issue
Block a user