profile
This commit is contained in:
@@ -24,6 +24,14 @@ type Tenantinfo struct {
|
||||
Latitude string `json:"latitude"`
|
||||
Longitude string `json:"longitude"`
|
||||
Tenantimage string `json:"tenantimage"`
|
||||
// When the merchant was created.
|
||||
//
|
||||
// The column has always been there — `tenants.created` defaults to now() —
|
||||
// and `GetTenantByID` already does SELECT a.*, so the value was in every
|
||||
// result set and thrown away for want of a field to scan into. A shop
|
||||
// profile that cannot say how long the business has been on the platform is
|
||||
// missing a fact the database has held all along.
|
||||
Created time.Time `json:"created"`
|
||||
Tenantinfo string `json:"tenantinfo"`
|
||||
// The FSSAI or trade licence.
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user