Delete support for native sqlite using

delete support for native sqlite using ,and fix some bugs caused by
changing ORM