main
Backend Deploy 🚀 / build-and-deploy (push) Has been cancelled

This commit is contained in:
Harun CAN
2026-05-11 07:32:58 +02:00
parent 58832e99d1
commit 2e6c272eee
17 changed files with 1260 additions and 400 deletions
+21
View File
@@ -0,0 +1,21 @@
const { PrismaClient } = require('@prisma/client');
const prisma = new PrismaClient();
async function main() {
await prisma.voiceProfile.create({
data: {
name: 'Özgür AI (Tüm Motorlar)',
description: 'İstediğiniz ses motorunu seçebileceğiniz serbest profil.',
voice_type: 'cloned',
language: 'tr',
tags: ['serbest', 'çok-dilli'],
preview_url: null,
personality: 'Sen yardımcı bir asistansın.',
default_engine: 'qwen'
}
});
console.log('Profile created');
}
main().catch(e => {
console.error(e);
}).finally(() => prisma.$disconnect());