Skip to content

(feat): add optional database indexes#3637

Merged
farnabaz merged 2 commits intonuxt:mainfrom
websideproject:feat/db-index
Dec 16, 2025
Merged

(feat): add optional database indexes#3637
farnabaz merged 2 commits intonuxt:mainfrom
websideproject:feat/db-index

Conversation

@bgervan
Copy link
Copy Markdown
Contributor

@bgervan bgervan commented Dec 10, 2025

🔗 Linked issue

❓ Type of change

  • 📖 Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • 👌 Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

Adds option to generate indexes on the generated SQL schemas, making it possible to optimize D1 row counts for example.

📝 Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.
  • I have added test cases

@vercel
Copy link
Copy Markdown

vercel bot commented Dec 10, 2025

@bgervan is attempting to deploy a commit to the Nuxt Team on Vercel.

A member of the Team first needs to authorize it.

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Dec 10, 2025

npm i https://pkg.pr.new/@nuxt/content@3637

commit: 01ad7a0

Copy link
Copy Markdown
Member

@farnabaz farnabaz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lovely
Thanks for the PR ❤️

@farnabaz farnabaz merged commit 8ab6ff1 into nuxt:main Dec 16, 2025
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants