Add indices in migrations. Fixes #37.