Supporting a legacy db format