- Add one-click research protocol generation with streaming output - Implement Word document export via Pandoc integration - Add dynamic dual-panel layout with resizable split pane - Implement collapsible content for StatePanel stages - Add conversation history management with title auto-update - Fix scroll behavior, markdown rendering, and UI layout issues - Simplify conversation creation logic for reliability
100 lines
762 B
PowerShell
100 lines
762 B
PowerShell
# DC模块数据库同步脚本
|
||
Write-Host "====================================" -ForegroundColor Cyan
|
||
Write-Host "DC模块数据库表同步" -ForegroundColor Cyan
|
||
Write-Host "====================================" -ForegroundColor Cyan
|
||
Write-Host ""
|
||
|
||
Set-Location $PSScriptRoot
|
||
|
||
Write-Host "1️⃣ 生成Prisma Client..." -ForegroundColor Yellow
|
||
npm run prisma:generate
|
||
|
||
Write-Host ""
|
||
Write-Host "2️⃣ 推送Schema到数据库..." -ForegroundColor Yellow
|
||
npx prisma db push --accept-data-loss
|
||
|
||
Write-Host ""
|
||
Write-Host "3️⃣ 检查表是否创建成功..." -ForegroundColor Yellow
|
||
npx tsx check-dc-database.ts
|
||
|
||
Write-Host ""
|
||
Write-Host "✅ 完成!" -ForegroundColor Green
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|