[Contest-4] Automatically create index when creating foreign key.

Add index slider as in "Structure > Indexes > Create an index" to create indexes.
Relational view will refresh when an index is created.