How to change the database provider to Turso.
ShipThing
project.
packages/env/index.ts
, add DATABASE_AUTH_TOKEN
to the server
and runtimeEnv
objects:
@libsql/client
is used to connect to the hosted Turso database.
Uninstall the existing dependencies for Neon…
packages/next-config/index.ts
and add @libsql/client
to the list of externals:
packages/database/index.ts
and make the following changes:
libsql
client instead: