Files
core/homeassistant/components
Tim Soderstrom 5dfdb9e481 New indexes for states and recording_runs tables (#6688)
* New indexes for states table

* Added recorder_runs indexes

* Created a new function for compound indexes.

A new function was created because it makes it a little cleaner when creating
a single-field index since one doesn't have to create a list. This is mostly
when creating the name of the index so with a bit more logic it's possible
to combine it into one function. Given how often migration changes are run,
I thought that code bloat was probably a worthy trade-off for now.

* Adjusted indexes, POC for ref indexes by name.

* Corrected lint errors

* Fixed pydocstyle error

* Moved create_index function outside apply_update

* Moved to single line (just barely)
2017-03-23 20:48:31 -07:00
..
2017-03-22 08:18:13 -04:00
2017-03-20 21:31:58 -07:00
2017-03-23 21:58:22 +01:00
2017-03-21 08:55:21 -07:00
2017-02-24 22:45:46 +01:00
2017-03-23 08:37:20 -07:00
2017-02-12 11:31:46 -08:00
2016-09-03 15:59:20 -07:00
2017-03-15 08:38:26 -07:00
2017-02-11 11:29:37 -08:00
2016-09-13 22:52:11 -07:00
2016-10-30 22:18:53 +01:00
2016-07-16 23:45:38 -07:00
2017-03-06 22:35:49 -08:00
2016-10-30 22:18:53 +01:00
2016-10-30 22:18:53 +01:00
2016-10-30 09:58:34 +01:00
2016-10-30 22:18:53 +01:00
2017-02-23 13:02:56 -08:00
2016-10-30 22:18:53 +01:00
2017-03-01 07:38:49 -08:00
2017-02-26 14:38:06 -08:00
2016-09-10 18:22:58 -07:00
2016-11-04 23:38:27 -07:00
2017-03-10 11:14:31 +01:00
2017-03-04 15:10:36 -08:00
2016-10-30 22:18:53 +01:00
2016-10-10 23:44:41 -07:00
2017-02-26 14:38:06 -08:00
2016-08-23 17:27:54 -07:00
2017-03-15 23:08:47 -07:00
2017-03-01 07:38:49 -08:00
2016-10-24 21:49:49 -07:00
2017-02-02 10:23:13 +01:00
2016-11-21 19:36:44 -08:00
2016-08-11 11:14:24 +02:00
2016-08-07 21:56:17 -07:00
2017-03-04 15:10:36 -08:00
2017-03-04 15:10:36 -08:00
2017-03-04 15:10:36 -08:00
2016-09-13 07:23:53 +02:00
2016-09-27 21:29:55 -07:00
2017-02-23 21:44:47 -08:00
2016-08-23 18:58:59 -07:00
2017-03-16 17:38:46 +01:00
2017-03-22 08:18:13 -04:00
2017-03-03 08:14:51 +01:00
2017-03-19 15:59:07 +01:00
2017-03-04 15:10:36 -08:00
2017-03-11 10:18:29 -08:00
2017-02-04 20:52:11 +01:00
2016-11-18 23:35:08 +01:00