This commit is contained in:
2026-09-24 15:51:47 +05:30
parent cf3e4ea159
commit 299871b820
6 changed files with 356 additions and 1 deletions

View File

@@ -73,7 +73,11 @@ type Partnerinfo struct {
}
type Ridershifts struct {
Shiftid int `json:"shiftid" gorm:"Primary_Key"`
Shiftid int `json:"shiftid" gorm:"Primary_Key"`
// The region this shift belongs to. The column has always been on the table
// — `GetRiderShifts` filters on it — but there was no field for it here, so
// nothing could write one. That is why shifts could only ever be read.
Applocationid int `json:"applocationid"`
Shiftdate string `json:"shiftdate"`
Starttime string `json:"starttime"`
Endtime string `json:"endtime"`