FK validation
Merge pull request #2 from appmetr/feature/index-validation

FK validation