Using GPT-4, I get the result I think you'd expect: https://chat.openai.com/share/da15f295-9c65-4aaf-9523-601bf4...
This is a good PSA that a lot of content out on the internet showing ChatGPT getting things wrong is the weaker model.
Green background OpenAI icon: GPT 3.5
Black or purple icon: GPT 4
GPT-4 Turbo, via API, did slightly better though perhaps just because it has more Drizzle knowledge in the training set, and skips the SQL command and instead suggests modifying only db.ts and page.tsx.