Add 'SQLite Config'

Anna Schumaker 2023-03-21 16:42:35 -04:00
parent 3f86043b5c
commit 6a0463a603

12
SQLite-Config.md Normal file

@ -0,0 +1,12 @@
Emmental configures SQLite by enabling foreign key constraint enforcement and setting the user version. The current user_version for Emmental 3.0 is 1.
### Pragma
| Pragma | Value |
| ------------ | ----- |
| foreign_keys | ON |
| user_version | 1 |
### Custom Column Types
| Name | SQLite Type | Application Type |
| ---- | ----------- | -------------------------------------------------------------- |
| PATH | STRING | [pathlib.Path](https://docs.python.org/3/library/pathlib.html) |