DatabaseUpdate
Fields
Section titled “Fields”| Field | Type | Description |
|---|---|---|
plan |
DatabasePlanId | |
storage_gb |
integer | Grow only. |
pitr_days |
integer | Shortening retention always needs human approval. |
extensions |
array of string | |
maintenance_window |
string | |
masking |
MaskingRules | |
pooling |
boolean | |
public_access |
object | Exposing a database publicly always needs human approval and an IP allowlist on Hobby. |
* always present
Example
Section titled “Example”{ "plan": "starter", "storage_gb": 1, "pitr_days": 1, "extensions": [ "string" ], "maintenance_window": "string", "masking": { "clients.full_name": "fake_name", "clients.nhs_number": null, "clients.date_of_birth": "shift_days(±30)", "carers.email": "hash_email" }, "pooling": false, "public_access": { "enabled": false, "allow_ips": [ "string" ] }}