I was curious too when I first saw this.
I guess because creating table runs when the server starts, at that time no one would access the front-end webpage, and creating table is pretty fast.
So event-driven is not *that* necessary in this case?