[REF] openacademy: Adding sql constraints