Dev and Test run fixed. New Datepicker. Tests fixed. Message bookmarking fixed.
This commit is contained in:
17
server/check_table.ts
Normal file
17
server/check_table.ts
Normal 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();
|
||||
Reference in New Issue
Block a user