refacto: add extension
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
"jetstream": "deno run --watch --allow-net --allow-read --allow-write --allow-env jetstream.ts",
|
"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": "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",
|
"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": {
|
"imports": {
|
||||||
"@oak/oak": "jsr:@oak/oak@^17.2.0",
|
"@oak/oak": "jsr:@oak/oak@^17.2.0",
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { db } from "../data/db";
|
import { db } from "../data/db.ts";
|
||||||
|
|
||||||
db.execute(`
|
db.execute(`
|
||||||
CREATE TABLE IF NOT EXISTS note (
|
CREATE TABLE IF NOT EXISTS note (
|
||||||
|
|||||||
Reference in New Issue
Block a user