6 Commits

Author SHA1 Message Date
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