Change index on repositories(owner_name, name) to unique index