feat: plane-lift schema (states/modules/cycles/links)
Phase 1 of the Plane feature lift into Project E. Schema changes: - Add stateGroupEnum, moduleStatusEnum, linkTypeEnum - Add states table (per-project workflow states with group enum) - Add modules table (project-scoped planning buckets) - Add cycles table (time-boxed sprints) - Add links table (canonical cross-entity mesh) - Drop taskStatusEnum and tasks.status column - Add stateId, moduleId, cycleId FKs to tasks - Drop taskDependencies, noteLinks, noteEntityLinks tables Project creation bootstrap: - Seed 5 default states (Backlog/Todo/In Progress/Done/Cancelled) on new project Minimal API fixes for typecheck: - Remove references to dropped tables/columns - Replace status-based queries with completedAt checks - Stub deprecated dependency/status endpoints for Phase 2 Drizzle migration: 0008_plane-lift-schema.sql (custom, big-bang)
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,69 @@
|
||||
{
|
||||
"version": "7",
|
||||
"dialect": "postgresql",
|
||||
"entries": [
|
||||
{
|
||||
"idx": 0,
|
||||
"version": "7",
|
||||
"dialect": "postgresql",
|
||||
"tag": "0000_outstanding_zuras",
|
||||
"createdAt": "2025-01-01T00:00:00.000Z"
|
||||
},
|
||||
{
|
||||
"idx": 1,
|
||||
"version": "7",
|
||||
"dialect": "postgresql",
|
||||
"tag": "0001_warm_eternity",
|
||||
"createdAt": "2025-01-01T00:01:00.000Z"
|
||||
},
|
||||
{
|
||||
"idx": 2,
|
||||
"version": "7",
|
||||
"dialect": "postgresql",
|
||||
"tag": "0002_steep_black_widow",
|
||||
"createdAt": "2025-01-01T00:02:00.000Z"
|
||||
},
|
||||
{
|
||||
"idx": 3,
|
||||
"version": "7",
|
||||
"dialect": "postgresql",
|
||||
"tag": "0003_amazing_saracen",
|
||||
"createdAt": "2025-01-01T00:03:00.000Z"
|
||||
},
|
||||
{
|
||||
"idx": 4,
|
||||
"version": "7",
|
||||
"dialect": "postgresql",
|
||||
"tag": "0004_add_owner_id_to_domains",
|
||||
"createdAt": "2025-01-01T00:04:00.000Z"
|
||||
},
|
||||
{
|
||||
"idx": 5,
|
||||
"version": "7",
|
||||
"dialect": "postgresql",
|
||||
"tag": "0005_search_vector_trigger",
|
||||
"createdAt": "2025-01-01T00:05:00.000Z"
|
||||
},
|
||||
{
|
||||
"idx": 6,
|
||||
"version": "7",
|
||||
"dialect": "postgresql",
|
||||
"tag": "0006_minor_doctor_octopus",
|
||||
"createdAt": "2025-01-01T00:06:00.000Z"
|
||||
},
|
||||
{
|
||||
"idx": 7,
|
||||
"version": "7",
|
||||
"dialect": "postgresql",
|
||||
"tag": "0007_drop_canvas_reports",
|
||||
"createdAt": "2025-01-01T00:07:00.000Z"
|
||||
},
|
||||
{
|
||||
"idx": 8,
|
||||
"version": "7",
|
||||
"when": 1788800393149,
|
||||
"tag": "0008_plane-lift-schema",
|
||||
"breakpoints": true
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user