mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-21 16:27:19 +00:00
Add sqlalchemy as dep
This commit is contained in:
parent
74a3e8342e
commit
dc826052a6
@ -12,9 +12,10 @@ categories: Release-Notes
|
||||
|
||||
It's time for Home Assistant 0.24 and it's full of new integration for your Home. It contains some structural changes to our history which requires action from your end, so please keep reading.
|
||||
|
||||
[Roy Hooper][@rhooper] did an amazing job migrating the history support from being tied to SQLite to use the ORM SQLAlchemy instead. This means that you can now use **any** SQL backend for the history. So besides SQLite you can now databases like MySQL or PostgreSQL. However, this does require that you run a command to migrate your existing history over. We tried to make the process as seamless as possible by introducing a new command line script:
|
||||
[Roy Hooper][@rhooper] did an amazing job migrating the history support from being tied to SQLite to use the ORM SQLAlchemy instead. This means that you can now use **any** SQL backend for the history. So besides SQLite you can now databases like MySQL or PostgreSQL. However, this does require that you install [SQLAlchemy] and run a command to migrate your existing history over. We tried to make the process as seamless as possible by introducing a new command line script:
|
||||
|
||||
```bash
|
||||
$ pip3 install SQLAlchemy
|
||||
$ hass --script db_migrator --config /path/to/config
|
||||
```
|
||||
|
||||
@ -87,4 +88,4 @@ You can omit the `--config` option if you use the default configuration director
|
||||
[Verisure]: /components/lock.verisure/
|
||||
[yahoo-weather]: /components/sensor.yweather/
|
||||
[Z-Wave]: /components/zwave/
|
||||
|
||||
[SQLAlchemy]: http://www.sqlalchemy.org/
|
||||
|
Loading…
x
Reference in New Issue
Block a user