DB model reengeneering