using triggers to update applicable_from for all MySQL versions
Merge pull request #99 from onefinestay/applicable_from_fix

using triggers to update applicable_from for all MySQL versions