Add database upgrade for ExtendeProperties trigger.

This should have been in Change I55eb40e7.  We don't currently use these triggers,
but I'm fixing them both for correctness and so I can add unittests to this code.
1 file changed