Skip to content

Conversation

@pwizla
Copy link
Collaborator

@pwizla pwizla commented Apr 17, 2024

This PR documents the database config client option restrictions for SQLite in Strapi 5.

@pwizla pwizla self-assigned this Apr 17, 2024
@vercel
Copy link

vercel bot commented Apr 17, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
documentation ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 17, 2024 1:41pm
@pwizla pwizla requested a review from innerdvations April 17, 2024 13:20
…nly-better-sqlite3-for-sqlite.md Co-authored-by: Ben Irvin <ben@innerdvations.com>
@pwizla pwizla added internal PRs created by the Strapi core team v5 Documentation PR that targets Strapi v5 labels Apr 17, 2024
@pwizla pwizla added this to the 5.0.0 (stable) milestone Apr 17, 2024
@pwizla pwizla merged commit 5f0cb18 into next Apr 17, 2024
@pwizla pwizla deleted the v5/bc--bettersqlite3 branch April 17, 2024 13:37

### Notes

Strapi 5 uses the `better-sqlite3` package for SQLite databases under the hood. Knex rewrites the `sqlite` option as `better-sqlite3`.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
Strapi 5 uses the `better-sqlite3` package for SQLite databases under the hood. Knex rewrites the `sqlite` option as `better-sqlite3`.
Strapi 5 uses the `better-sqlite3` package for SQLite databases under the hood and rewrites the `sqlite` option as `better-sqlite3` for Knex.
@pwizla
Copy link
Collaborator Author

pwizla commented Apr 17, 2024

Oopsie I merged the wrong PR, so I merged too early 😂 I'll fix the content with your suggestion. Thank you, Ben!

@pwizla pwizla modified the milestones: 5.0.0 (stable), 5.0.0-rc.0 Jun 26, 2024
@pwizla pwizla modified the milestones: 5.0.0-rc.0, 5.0.0 (stable) Aug 13, 2024
@pwizla pwizla added pr: new content PRs for new product features or new documentation sections source: Dev Docs PRs/issues targeting the Developer Docs labels Aug 13, 2024
@pwizla pwizla changed the title [Strapi 5] Document better-sqlite3 breaking change Document better-sqlite3 breaking change Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal PRs created by the Strapi core team pr: new content PRs for new product features or new documentation sections source: Dev Docs PRs/issues targeting the Developer Docs v5 Documentation PR that targets Strapi v5

2 participants