Ensure foreign keys for test models are Oracle friendly

To fix CI

Signed-off-by: Abhijit Hiremagalur <abhi@pivotallabs.com>