changing primary db type to BTREE