This commit is contained in:
2026-09-08 19:02:15 +05:30
parent d9cad2bbe4
commit 3853b84c9f

View File

@@ -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.
//