From dc826052a619aef5ef93540df148443232fa144e Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 14 Jul 2016 19:03:12 +0200 Subject: [PATCH] Add sqlalchemy as dep --- .../2016-07-13-sqlalchemy-knx-join-simplisafe.markdown | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/source/_posts/2016-07-13-sqlalchemy-knx-join-simplisafe.markdown b/source/_posts/2016-07-13-sqlalchemy-knx-join-simplisafe.markdown index e20ba7bca72..70330a5e855 100644 --- a/source/_posts/2016-07-13-sqlalchemy-knx-join-simplisafe.markdown +++ b/source/_posts/2016-07-13-sqlalchemy-knx-join-simplisafe.markdown @@ -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/