import prisma from '../prisma/client.ts' async function main() { await prisma.channel.upsert({ where: { id: 'default' }, update: {}, create: { id: 'default', name: 'Default', persistent: true, }, }) } main() .then(async () => { await prisma.$disconnect() }) .catch(async (e) => { console.error(e) await prisma.$disconnect() process.exit(1) })