Surface regulation and user agent across consent record API layers

Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
Émile Ré
2026-05-07 14:59:00 +04:00
parent 806bd672ed
commit 5f4fd3c427
9 changed files with 74 additions and 26 deletions

View File

@@ -40,8 +40,8 @@ type (
ConsentData json.RawMessage `db:"consent_data"`
Action CookieConsentAction `db:"action"`
SdkVersion string `db:"sdk_version"`
Regulation Regulation `db:"regulation"`
CountryCode CountryCode `db:"country_code"`
Regulation *Regulation `db:"regulation"`
CountryCode *CountryCode `db:"country_code"`
CreatedAt time.Time `db:"created_at"`
}