freelance-project-34-market.../python/online/fxreader/pr34
LLM 687df29dfe [+] add ORM registry with migration support, migrate cache/db.py
1. add apps/orm/registry.py with orm_module_t base class and orm_registry_t singleton;
  2. singleton per db path, thread-safe, tracks registered ORM classes;
  3. orm_schema_versions table for per-module version tracking;
  4. classmethods table_prefix(), schema_version(), migrate() for schema management;
  5. registry.module(cls) returns typed ORM instance, cached per registry;
  6. migrate cache_db_t to extend orm_module_t, move schema into classmethod migrate();
  7. cache_db_t constructor accepts Path (legacy, uses registry) or Connection (from registry);
  8. orm_registry_t.register(cache_db_t) at module load time;
  9. add test_orm.py with 12 tests: singleton, migration, multi-module, incremental, failure;
2026-04-13 09:00:00 +00:00
..
commands_typed [+] add ORM registry with migration support, migrate cache/db.py 2026-04-13 09:00:00 +00:00
tasks [+] ruff line-length 100, add meson:install:list, bump pr34 v0.1.5.66 2026-04-06 09:56:11 +00:00
tests [+] reformat with ruff 2025-05-20 11:03:00 +03:00
__init__.py
commands.py [+] ruff line-length 100, add meson:install:list, bump pr34 v0.1.5.66 2026-04-06 09:56:11 +00:00
oom_firefox.py [+] ruff line-length 100, add meson:install:list, bump pr34 v0.1.5.66 2026-04-06 09:56:11 +00:00
py.typed [+] update packaging 2024-12-01 18:49:12 +03:00