Add migrations

This commit is contained in:
2020-10-09 15:10:13 +02:00
parent 135cd976d0
commit 011619d3c3
8 changed files with 81 additions and 9 deletions

6
models/person.go Normal file
View File

@@ -0,0 +1,6 @@
package models
type Person struct {
Id int `json:"id"`
Name string `json:"name"`
}

View File

@@ -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"`
}