MSP-1538 add db migration

This commit is contained in:
d1slike committed 2023-03-27 10:30:42 +03:00
1 parent 0d5b55f3a1
commit 060c5a09de
4 files changed
+37 -14

No files matched your search

+1 -8
View File
@@ -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