willbsp / habits

A habit tracking app for Android

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add an index to the entity table

willbsp opened this issue · comments

When building:
habit_id column references a foreign key but it is not part of an index. This may trigger full table scans whenever parent table is modified so you are highly advised to create an index that covers this column.