Dev and Test run fixed. New Datepicker. Tests fixed. Message bookmarking fixed.

This commit is contained in:
aodulov
2025-12-18 14:06:45 +02:00
parent e9aec9a65d
commit 3a8f132b91
12 changed files with 347 additions and 24 deletions

17
server/check_table.ts Normal file
View File

@@ -0,0 +1,17 @@
import { PrismaClient } from '@prisma/client';
import prisma from './src/lib/prisma';
async function main() {
try {
console.log('Checking SavedMessage table...');
const count = await prisma.savedMessage.count();
console.log(`SavedMessage table exists, count: ${count}`);
} catch (error: any) {
console.error('Error accessing SavedMessage table:', error.message);
} finally {
await prisma.$disconnect();
}
}
main();

View File

@@ -6,7 +6,8 @@
"scripts": {
"start": "node dist/index.js",
"start:prod": "node dist/index.js",
"start:dev": "cross-env APP_MODE=dev ts-node-dev -r dotenv/config --respawn --transpile-only src/index.ts",
"start:dev": "cross-env APP_MODE=dev PORT=3200 ts-node-dev -r dotenv/config --respawn --transpile-only src/index.ts",
"start:test": "cross-env APP_MODE=test PORT=3201 ts-node-dev -r dotenv/config --respawn --transpile-only src/index.ts",
"dev": "npm run start:dev",
"build": "tsc",
"migrate:deploy": "npx prisma migrate deploy"

Binary file not shown.