Add an index to the entity table
willbsp opened this issue · comments
Will Spooner commented
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.