mirror of
https://github.com/tale/headplane.git
synced 2026-08-20 01:42:17 +00:00
feat: correct package.json dependencies and remove libsql
This commit is contained in:
@@ -20,8 +20,7 @@ export async function createDbClient(path: string) {
|
||||
throw new Error(`Could not create directory for database at ${realPath}`);
|
||||
}
|
||||
|
||||
// Turn the path into a URL with the file protocol
|
||||
const db = drizzle(`file://${realPath}`);
|
||||
const db = drizzle(realPath);
|
||||
migrate(db, {
|
||||
migrationsFolder: "./drizzle",
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user