45c2046fd6
Update schema putting more into filedir_version
2022-09-27 11:26:05 -04:00
bf141afa5f
Add UUID to store table.
2022-09-23 08:41:20 -04:00
fb6a54c6ef
Clean up schema and add filedir_versions table
2022-09-22 15:47:49 -04:00
9d48d4d227
Enable contraint parent.filetype='DIR' in filedir
2022-09-22 10:08:30 -04:00
8d6395ecd1
Rename store_file table to filedir
2022-09-22 10:03:44 -04:00
f18368f1e0
Add Program, Environment, User, Machine, with auto insertion
...
Also removed freeze and thaw, and converted to record().
2022-09-21 20:51:57 -04:00
d0f113645b
Create schema submodule holding versioned schemas
...
This is meant to hold schemas and migrations. It contains an
`__init__.py` due to a limitation of `importlib.resources` outlined in
detail here: https://github.com/python/importlib_resources/issues/58
Eventually the schema submodule will handle automatic migration of older
databases when importing into new stores.
2022-09-21 13:50:46 -04:00
e75af52765
Create {machine,fs}.py, file scanning, and updated tests
...
This also fixes the pytest fixture setup (I think).
2022-09-21 13:37:05 -04:00
311990d5f6
Update schema and add tests which don't rely on python
2022-09-20 12:07:32 -04:00
10f5fac0e7
Add schema_version on python side, with match test
2022-09-18 19:43:05 -04:00