Using 一样 instead of 同一 for "the same school"
Your understanding is correct.

You never use 一样 to refer to the same school. You can only use it to refer to two similar schools.

同一 always means the same one.


  I think we will end up going to the same school = 我想我们会上同一所学校