unepwcmc/SAPI — pull request #256 by simaob (2014-03-13 10:57:43+00:00)
Title: Adds constraints to distribution_references table

- Removes duplicates
- Adds unique index
- Sets created_at and updated_at to 13th November 2013, for records where these are null
- Sets constraint on created_at, and updated_at to not accept nulls