Skip to content

Commit

Permalink
require vs import
Browse files Browse the repository at this point in the history
  • Loading branch information
AvidDabbler committed Feb 4, 2024
1 parent fb6ada0 commit 0d1a831
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drizzle/enable-wal.js
Original file line number Diff line number Diff line change
@@ -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;`);

0 comments on commit 0d1a831

Please sign in to comment.