From 0d1a831784ab30ac43496f2bf21ee8800d0a604a Mon Sep 17 00:00:00 2001 From: Walter Jenkins Date: Sun, 4 Feb 2024 11:19:11 -0600 Subject: [PATCH] require vs import --- drizzle/enable-wal.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drizzle/enable-wal.js b/drizzle/enable-wal.js index ac74daa..9a5a3d6 100644 --- a/drizzle/enable-wal.js +++ b/drizzle/enable-wal.js @@ -1,5 +1,5 @@ -import { sql } from "drizzle-orm"; +const { sql } = require( "drizzle-orm" ); -import { db } from "./config"; +const { db } = require("./config"); db.run(sql`PRAGMA journal_mode = WAL;`);