hass-core/homeassistant/components/recorder
J. Nick Koston 49079691d4
Reduce overhead of legacy database columns on new installs (#90246)
* Reduce overhead of legacy database columns on new installs

* Reduce overhead of legacy database columns on new installs

* Reduce overhead of legacy database columns on new installs

* Reduce overhead of legacy database columns on new installs

* not working as expected

* override the type compiler

* override the type compiler

* override the type compiler

* override the type compiler

* Apply suggestions from code review

* pgsql char1

* make entity filter test setup with old schema

* fix some more tests that were mutating state

* fix some more tests that were mutating state

* fix some more tests that were mutating state

* fix more dbstate mutations

* add shim for older tests

* split migration tests

* add coverage for purging legacy data

* tweak

* more fixes

* drop some legacy

* fix another test

* fix a few more

* add casts for postgresql in case someone deletes the schema changes table

* dry

* dry

* dry
2023-04-10 10:08:46 -04:00
..
auto_repairs Add auto repairs for events schema (#90136) 2023-03-22 21:17:36 -04:00
history Require a list of entity ids when fetching history (#90992) 2023-04-08 16:14:44 -10:00
models Guard against invalid ULIDs in contexts while recording events (#90889) 2023-04-06 10:34:54 +02:00
system_health Rename recorder run_history to table_managers.recorder_runs_manager (#90070) 2023-03-21 18:38:33 -10:00
table_managers Rename recorder run_history to table_managers.recorder_runs_manager (#90070) 2023-03-21 18:38:33 -10:00
__init__.py Fix recorder attribute excludes not being effective until after startup (#90198) 2023-03-23 20:52:37 -04:00
backup.py Use recorder get_instance function to improve typing (#75567) 2022-07-22 11:58:26 +02:00
const.py Fix recorder attribute excludes not being effective until after startup (#90198) 2023-03-23 20:52:37 -04:00
core.py Reduce overhead of legacy database columns on new installs (#90246) 2023-04-10 10:08:46 -04:00
db_schema.py Reduce overhead of legacy database columns on new installs (#90246) 2023-04-10 10:08:46 -04:00
entity_registry.py Retain history when renaming an entity_id (#89963) 2023-03-19 17:33:21 -10:00
executor.py Code styling tweaks to the recorder integration (#86030) 2023-01-16 19:51:11 +01:00
filters.py Rework recorder filters to avoid caching mistakes (#90419) 2023-03-28 22:51:46 +02:00
manifest.json Bump sqlalchemy to 2.0.9 (#91151) 2023-04-10 10:01:49 -04:00
migration.py Reduce overhead of legacy database columns on new installs (#90246) 2023-04-10 10:08:46 -04:00
pool.py Upgrade SQLAlchemy to 2.0.2 (#86436) 2023-02-08 08:17:32 -06:00
purge.py Rename recorder run_history to table_managers.recorder_runs_manager (#90070) 2023-03-21 18:38:33 -10:00
queries.py Fix entity_id migration query failing with MySQL 8.0.30 (#90895) 2023-04-06 10:34:13 +02:00
repack.py
services.py Add keep_days to recorder.purge_entities (#89726) 2023-03-15 11:13:47 -10:00
services.yaml Add keep_days to recorder.purge_entities (#89726) 2023-03-15 11:13:47 -10:00
statistics.py Cleanup some duplicate code in recorder statistics (#90549) 2023-04-01 21:40:14 -04:00
strings.json Add a repair issue when using MariaDB is affected by MDEV-25020 (#87040) 2023-01-31 20:42:07 +01:00
tasks.py Use slots for recorder tasks to reduce memory (#90387) 2023-03-28 12:24:12 +02:00
util.py Reduce overhead of legacy database columns on new installs (#90246) 2023-04-10 10:08:46 -04:00
websocket_api.py Avoid database executor job to fetch statistic metadata on cache hit (#89960) 2023-03-19 22:01:16 -04:00