Add migrations
This commit is contained in:
6
models/person.go
Normal file
6
models/person.go
Normal file
@@ -0,0 +1,6 @@
|
||||
package models
|
||||
|
||||
type Person struct {
|
||||
Id int `json:"id"`
|
||||
Name string `json:"name"`
|
||||
}
|
@@ -3,7 +3,8 @@ package models
|
||||
import "time"
|
||||
|
||||
type Washlist struct {
|
||||
Id int `json:"id"`
|
||||
Person string `json:"person"`
|
||||
Date time.Time `json:"date"`
|
||||
IsWashed bool `json:"iswashed"`
|
||||
Washed string `json:"iswashed"`
|
||||
}
|
||||
|
Reference in New Issue
Block a user