Unique together: subject / date / number. Should we add type ? Is the constraint effective on nullable number (ie. for base sessions).