migrations/001_init.sqlを作成して、以下を実行する。
migrations/001_init.sql
bun add -g wrangler wrangler login
# D1データベースを作成(名前は任意のものを指定) wrangler d1 create g2-tutorial-db # マイグレーション wrangler d1 execute g2-tutorial-db --remote --file=./migrations/001_init.sql