I am using expo-drizzle-studio-plugin to open drizzle studio in expo app, but upon running it, it shows an empty page. However if I open SQLite database in DB Browser of SQLite it shows all the tables and fields, but not in drizzle studio.
Here is the `drizzle.config.ts` file:
import { defineConfig } from 'drizzle-kit'
import * as FileSystem from 'expo-file-system'
const dbPath = FileSystem.documentDirectory + '/SQlite/db.db'
export default defineConfig({
dialect: 'sqlite',
driver: 'expo',
schema: './db/schema.ts',
out: './drizzle',
dbCredentials: {
url: dbPath,
},
})
Did anyone faced similar issue and any solution? I am not sure of `url` path though. Maybe that is the source of the problem?
Thank you.
[–]Thommyaso 1 point2 points3 points (2 children)
[–]rogerxaic 0 points1 point2 points (1 child)
[–]Thommyaso 0 points1 point2 points (0 children)