add unique constraint to language and fk to object