Step Library - database schema and migrations #6

Closed
opened 2026-02-03 04:40:59 +00:00 by chihlasm · 1 comment
chihlasm commented 2026-02-03 04:40:59 +00:00 (Migrated from github.com)

Create step_library table for reusable troubleshooting steps:

  • Create Alembic migration
  • Add SQLAlchemy model with fields: title, step_type, content (JSONB), visibility, category_id, tags, ratings aggregates
  • Add indexes for search and filtering
  • Add step_ratings table for user ratings/reviews
  • Add step_usage_log table for "Verified Use" tracking

Reference: PHASE-2.5-PERSONAL-BRANCHING.md

Create step_library table for reusable troubleshooting steps: - [ ] Create Alembic migration - [ ] Add SQLAlchemy model with fields: title, step_type, content (JSONB), visibility, category_id, tags, ratings aggregates - [ ] Add indexes for search and filtering - [ ] Add step_ratings table for user ratings/reviews - [ ] Add step_usage_log table for "Verified Use" tracking Reference: PHASE-2.5-PERSONAL-BRANCHING.md
chihlasm commented 2026-02-03 07:05:49 +00:00 (Migrated from github.com)

Completed in PR #24. Implemented:

  • Migration 008 with step_library, step_ratings, step_usage_log tables
  • StepLibrary model with JSONB content, visibility levels (private/team/public), tags array
  • StepRating model with 1-5 star rating, helpful flag, verified use tracking
  • StepUsageLog model for tracking step usage in sessions
  • Full-text search index on title
Completed in PR #24. Implemented: - Migration 008 with step_library, step_ratings, step_usage_log tables - StepLibrary model with JSONB content, visibility levels (private/team/public), tags array - StepRating model with 1-5 star rating, helpful flag, verified use tracking - StepUsageLog model for tracking step usage in sessions - Full-text search index on title
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: chihlasm/resolutionflow#6