Add state_group index to event_to_state_groups

This is needed to efficiently check for unreferenced state groups during
purge.
This commit is contained in:
Erik Johnston 2018-10-04 15:24:01 +01:00
parent 17d585753f
commit 4917ff5523
3 changed files with 27 additions and 1 deletions

View file

@ -25,7 +25,7 @@ logger = logging.getLogger(__name__)
# Remember to update this number every time a change is made to database
# schema files, so the users will be informed on server restarts.
SCHEMA_VERSION = 51
SCHEMA_VERSION = 52
dir_path = os.path.abspath(os.path.dirname(__file__))