Remove mysql and add historical function
1.2.0