changed ::use_sqlite to ::db_type