Unique contraint, foreign key and index definitions