fix: verify prompt_versions table migration exists #22

Open
opened 2026-02-20 03:02:19 +00:00 by Clotho · 0 comments
Member

Issue

Models/PromptVersion.php model exists but no corresponding migration found in codebase scan.

Expected

Migration should exist for prompt_versions table with columns:

  • id
  • prompt_id (foreign key)
  • version (integer)
  • system_prompt (text)
  • user_template (text)
  • variables (json)
  • created_by (foreign key to users)
  • timestamps

Acceptance Criteria

  • Verify if migration exists in parent package (host-uk/core)
  • If missing, create migration for prompt_versions table
  • Add proper foreign keys and indexes
  • Test model functionality

References

  • Model file: Models/PromptVersion.php
  • Related model: Models/Prompt.php
## Issue `Models/PromptVersion.php` model exists but no corresponding migration found in codebase scan. ## Expected Migration should exist for `prompt_versions` table with columns: - id - prompt_id (foreign key) - version (integer) - system_prompt (text) - user_template (text) - variables (json) - created_by (foreign key to users) - timestamps ## Acceptance Criteria - [ ] Verify if migration exists in parent package (`host-uk/core`) - [ ] If missing, create migration for `prompt_versions` table - [ ] Add proper foreign keys and indexes - [ ] Test model functionality ## References - Model file: `Models/PromptVersion.php` - Related model: `Models/Prompt.php`
Clotho added the
discovery
label 2026-02-20 03:02:19 +00:00
Charon added
PHP
bug
P1
and removed
discovery
labels 2026-02-20 12:17:01 +00:00
Clotho was assigned by Charon 2026-02-20 12:20:51 +00:00
Snider added the
clotho
label 2026-02-21 00:38:53 +00:00
Charon added the
agent-ready
label 2026-02-21 01:31:31 +00:00
Sign in to join this conversation.
No description provided.