Allow precision option for MySQL datetimes

Related https://github.com/rails/rails/pull/6821, https://github.com/rails/rails/pull/14359.