While on a low-carb diet I won’t eat until noon, have a soup and eggs, and then a regular low-carb dinner with maybe 1 cup of yogurt.
When I break my diet, I’m constantly and insatiably snacking all the time. The difference is stark and really eye opening.
I suspect your migraine is largely psychosomatic. At 5 years keto, any sugar you eat will be metabolized within hours and your blood sugar levels normalize. Having symptoms well into the next day doesn’t make physiological sense, but I understand where that comes from. I don’t get migraines but a deep sense of shame when my willpower decreases and I eat a delicious but unhealthy dessert.