Skip to content

Commit 71c7722

Browse files
committed
Sqlite: Add warnings about anonymous data.
1 parent 11adac8 commit 71c7722

2 files changed

Lines changed: 21 additions & 0 deletions

File tree

technical/sqlite_export/index.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,15 @@ Besides our real-time integration via ORU, we also provide:
66
* [Hourly sqlite exports](sql_export)
77
* [A way to generate your own csv from the sqlite export](csv_from_sql)
88

9+
:::danger
10+
11+
This file includes anonymous data!
12+
13+
The sqlite database is only for database administrators/automators.
14+
15+
Always check the hide_pii_from_researchers and hide_values_from_professionals in the responses table and skip make sure you don't accidentally make anonymous data available.
16+
:::
17+
918
## Download the latest sql export
1019

1120
GET /api/v1/data_exports/download_sql

technical/sqlite_export/schema.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# Schema
22

3+
:::danger
4+
5+
This file includes anonymous data!
6+
7+
The sqlite database is only for database administrators/automators.
8+
9+
Always check the hide_pii_from_researchers and hide_values_from_professionals in the responses table and skip make sure you don't accidentally make anonymous data available.
10+
:::
11+
12+
:::info
313
## Major Release V2 (2025-12)
414

515
**We are switching to v2 of our sqlite database, which is about half the size. We've made it forward compatible. Incompatible changes are:**
@@ -12,6 +22,8 @@
1222
```
1323
* Removed anonymous from responses, use hide_pii_from_researchers and hide_values_from_professionals instead. They are already present in v1 and have been for years.
1424
* `questions.type` changed date => date_parts, check_box => multi_select, radio/select/scale => single_select, string/textarea => text. integer and float remained the same. Add renames for the new/old values as needed before you switch to v2.
25+
:::
26+
1527

1628
## Schema v2
1729

0 commit comments

Comments
 (0)