feat(repo,model,project): rename UUID field and row to just ID
This commit is contained in:
@@ -17,7 +17,7 @@ var _ Model = (*Project)(nil)
|
||||
|
||||
func (m Project) Validate() error {
|
||||
errs := []error{}
|
||||
if len(m.UUID) == 0 {
|
||||
if len(m.ID) == 0 {
|
||||
errs = append(errs, ErrZeroValue{Name: "UUID"})
|
||||
}
|
||||
if m.Title == "" {
|
||||
|
||||
Reference in New Issue
Block a user