Added reasonnum col, allowed reason to be null, implemented key constraint with reaso...