First commit

This commit is contained in:
AndrewTrieu
2023-03-09 11:21:18 +02:00
commit be427eda10
27 changed files with 262 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
import { postgres } from "../deps.js";
let sql;
if (Deno.env.get("DATABASE_URL")) {
sql = postgres(Deno.env.get("DATABASE_URL"));
} else {
sql = postgres({});
}
export { sql };