From 5fb816726372d8873dc601758aeda5e7e628d63d Mon Sep 17 00:00:00 2001 From: Julien Calixte Date: Mon, 9 Feb 2026 22:01:32 +0100 Subject: [PATCH] refacto: add extension --- deno.json | 2 +- src/migrations/init.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deno.json b/deno.json index 2a138be..c26f659 100644 --- a/deno.json +++ b/deno.json @@ -4,7 +4,7 @@ "jetstream": "deno run --watch --allow-net --allow-read --allow-write --allow-env jetstream.ts", "server": "deno run --watch --allow-net --allow-read --allow-write --allow-env server.ts", "server:prod": "deno run --allow-net --allow-read --allow-write --allow-env server.ts", - "migrate": "deno run --allow-read --allow-write src/migrations/init.ts" + "migrate": "deno run --allow-read --allow-write --allow-env src/migrations/init.ts" }, "imports": { "@oak/oak": "jsr:@oak/oak@^17.2.0", diff --git a/src/migrations/init.ts b/src/migrations/init.ts index 7c7af69..094262b 100644 --- a/src/migrations/init.ts +++ b/src/migrations/init.ts @@ -1,4 +1,4 @@ -import { db } from "../data/db"; +import { db } from "../data/db.ts"; db.execute(` CREATE TABLE IF NOT EXISTS note (