old db format