DB fix, favicon

This commit is contained in:
2026-04-24 13:53:41 +02:00
parent 669521b4dd
commit 669bb9b09d
5 changed files with 35 additions and 3 deletions

View File

@@ -0,0 +1,13 @@
{
"version": "7",
"dialect": "postgresql",
"entries": [
{
"idx": 0,
"version": "7",
"when": 1745489407717,
"tag": "0000_initial",
"breakpoints": true
}
]
}

View File

@@ -11,7 +11,7 @@
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"db:migrate": "drizzle-kit migrate",
"db:seed": "npx tsx scripts/seed.ts"
"db:seed": "npx tsx --env-file=.env scripts/seed.ts"
},
"devDependencies": {
"@sveltejs/adapter-auto": "^7.0.1",

View File

@@ -7,7 +7,7 @@ import { eq } from 'drizzle-orm';
const pool = new Pool({ connectionString: process.env.DATABASE_URL });
const db = drizzle(pool);
const ADMIN_EMAIL = process.env.SEED_ADMIN_EMAIL ?? 'admin@unicon.de';
const ADMIN_EMAIL = process.env.SEED_ADMIN_EMAIL ?? 'falko@unicon.de';
const ADMIN_PASSWORD = process.env.SEED_ADMIN_PASSWORD ?? 'ChangeMe123!';
const ADMIN_FIRST = process.env.SEED_ADMIN_FIRST ?? 'Admin';
const ADMIN_LAST = process.env.SEED_ADMIN_LAST ?? 'UniCon';

21
src/lib/assets/favicon.svg Normal file → Executable file

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 58 KiB

BIN
src/lib/assets/unicon.ico Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB