Add sqlalchemy as dep

This commit is contained in:
Fabian Affolter 2016-07-14 19:03:12 +02:00
parent 74a3e8342e
commit dc826052a6
No known key found for this signature in database
GPG Key ID: DDF3D6F44AAB1336

View File

@ -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/