I've heard people use the first one"It was me who brought it (my puppy) up" all the time and never heard of anybody use the second one "It was me who brought up it" because when using "object pronouns" with phrasal verbs, we use "him, her, it..." after the phrase. although
Although I know this, I just wanted to make sure of it. So, can anybody tell me if it is right or wrong and if it is wrong, why? Thank you!