Files
AIclinicalresearch/backend/sync-dc-database.ps1
HaHafeng 303dd78c54 feat(aia): Protocol Agent MVP complete with one-click generation and Word export
- 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
2026-01-25 19:16:36 +08:00

100 lines
762 B
PowerShell
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 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