add unique key on duration.name; add default durations