Release 0.8.12 sql fix