Added note of potential loss of data when change database. (#29982)

This commit is contained in:
Danny Tsang 2023-11-24 04:08:32 +00:00 committed by GitHub
parent 402f4553cf
commit 75c1a80ca7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,6 +32,12 @@ Although SQLAlchemy supports database solutions in addition to the ones supporte
The default, and recommended, database engine is [SQLite](https://www.sqlite.org/) which does not require any configuration. The database is stored in your Home Assistant configuration directory ('/config/') and is named `home-assistant_v2.db`.
<div class='note'>
Changing database used by the recorder may result in losing your existing history. Migrating data is not supported.
</div>
To change the defaults for the `recorder` integration in your installation, add the following to your `configuration.yaml` file:
```yaml