chore: some changes and run prettier everywhere
parent
182238f89d
commit
f16e340fd2
@ -1,5 +1,5 @@
|
||||
import { drizzle } from "drizzle-orm/better-sqlite3";
|
||||
import Database from "better-sqlite3";
|
||||
import { drizzle } from 'drizzle-orm/better-sqlite3'
|
||||
import Database from 'better-sqlite3'
|
||||
|
||||
const sql = new Database("out/website.sqlite");
|
||||
export const db = drizzle(sql);
|
||||
const sql = new Database('out/website.sqlite')
|
||||
export const db = drizzle(sql)
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { migrate } from "drizzle-orm/better-sqlite3/migrator";
|
||||
import { db } from "./index";
|
||||
import { migrate } from 'drizzle-orm/better-sqlite3/migrator'
|
||||
import { db } from './index'
|
||||
|
||||
migrate(db, { migrationsFolder: "out/drizzle" });
|
||||
migrate(db, { migrationsFolder: 'out/drizzle' })
|
||||
|
Loading…
Reference in New Issue