add logical schema