10 hours of sleep

So i finally went to the dr. for my migraine. Cause its been really bad for a long time and 1-2 times a week so bad, where i can barely keep it together. This week i decided to go to bed at like 7:45pm every night. So i ended up sleeping around 10 hours every night this week and today around 11 hours. I noticed that for the first time in forever, i haven’t gotten a headache or anything for a week. Im guessing its because i’ve been sleeping so much.. I usually tried to get around 8 - 8.5 hours of sleep, when i have work and that gives me migraines/headaches. Why is it, that i haven’t gotten any headaches this week, just because i slept around 10 hours every night. If this is the case. I cant go to bed at like 7:45pm every night.. Is this normal?