Migration History
Auto-generated
This page is auto-generated from backend/src/migrations/. Do not edit manually.
28 migrations tracked.
Migrationsβ
| # | Date | Migration | Description |
|---|---|---|---|
| 1 | 2024-03-06 | ComprehensiveProductionSetup | Comprehensive production setup |
| 2 | 2024-03-06 | WeaverScanTables | Weaver scan tables |
| 3 | 2026-03-20 | AddSsoSupport | Add sso support |
| 4 | 2026-03-22 | AddModuleFeatureFlags | Add module feature flags |
| 5 | 2026-03-23 | AddAssessmentSchedule | Add assessment schedule |
| 6 | 2026-03-25 | AddChainProofColumns | Add chain proof columns |
| 7 | 2026-03-26 | AddForcePasswordChange | Add force password change |
| 8 | 2026-03-27 | AddInviteSystemAndTenantMemberships | Add invite system and tenant memberships |
| 9 | 2026-03-28 | SessionMar21Updates | Session mar21 updates |
| 10 | 2026-03-29 | AddMissingColumns | Add missing columns |
| 11 | 2026-03-30 | AddIntelSyncRecordsFetched | Add intel sync records fetched |
| 12 | 2026-03-31 | AddSyncJobsAndVulnColumns | Add sync jobs and vuln columns |
| 13 | 2026-04-02 | FixCriticalColumnDrift | Fix critical column drift |
| 14 | 2026-04-03 | ComprehensiveSchemaSync | Comprehensive schema sync |
| 15 | 2026-04-04 | AddScanAgentGateway | Add scan agent gateway |
| 16 | 2026-04-05 | AddSemanticHash | Add semantic hash |
| 17 | 2026-04-06 | AddScanHistoryObservation | Add scan history observation |
| 18 | 2026-04-07 | AddPentestFindingException | Add pentest finding exception |
| 19 | 2026-04-09 | AddPentestScanTemplate | Add pentest scan template |
| 20 | 2026-04-10 | AddVprScoreToVulnerabilities | Add vpr score to vulnerabilities |
| 21 | 2026-04-11 | AddPentestFindingSla | Add pentest finding sla |
| 22 | 2026-04-12 | AddTenantEntitlements | Add tenant entitlements |
| 23 | 2026-04-13 | AddModuleSpecificRoles | Add module specific roles |
| 24 | 2026-04-16 | AddPhase0OsintColumns | Add phase0 osint columns |
| 25 | 2026-04-17 | AddPhaseDurations | Add phase durations |
| 26 | 2026-04-18 | AddAiSecurityTables | Add ai security tables |
| 27 | 2026-04-19 | AddBaselineAssessment | Add baseline assessment |
| 28 | 2026-04-20 | AddOwaspLlmCategory | Add owasp llm category |
Running Migrationsβ
# Check migration status
npm run migrate:status
# Run local migrations (public schema)
npm run migrate:local
# Run dev/cloud migrations (multi-tenant)
npm run migrate:dev
# Run production migrations (transaction-safe)
npm run migrate:production
Generated on 2026-04-04