hass-core/homeassistant/components/recorder/const.py
J. Nick Koston 1acdb28cdd
Automatically recover when the sqlite3 database is malformed or corrupted (#37949)
* Validate sqlite database on startup and move away if corruption is detected.

* do not switch context in test -- its all sync
2020-07-17 19:07:37 -10:00

4 lines
95 B
Python

"""Recorder constants."""
DATA_INSTANCE = "recorder_instance"
SQLITE_URL_PREFIX = "sqlite://"