Change hair trigger migrations and anonymous dump order. Sometimes there is a situation when we want to have some anonymous function be called in our trigger, for exapmple if we are using postgresql nowrap function. If we trying to run rake db:schema:load with current ordering - it will try to define trigger with some function and then define a function, which will give us an error. We need defined all functions first, and then define triggers.
Change hair trigger migrations and anonymous dump order.
Sometimes there is a situation when we want to have some anonymous
function be called in our trigger, for exapmple if we are using postgresql
nowrap function.
If we trying to run rake db:schema:load with current ordering - it will
try to define trigger with some function and then define a function,
which will give us an error. We need defined all functions first, and
then define triggers.

Generate hair trigger migrations

ccutrer/hair_trigger,dgynn/hair_trigger,jenseng/hair_trigger