Skip to content

feat(ticket-5.1): marketplace DB schema#29

Merged
vincentgrobler merged 1 commit intomainfrom
feature/ticket-5.1-marketplace-schema
Feb 25, 2026
Merged

feat(ticket-5.1): marketplace DB schema#29
vincentgrobler merged 1 commit intomainfrom
feature/ticket-5.1-marketplace-schema

Conversation

@vincentgrobler
Copy link
Copy Markdown
Collaborator

Description

  • ALTER agents: add is_published, marketplace_tags (GIN index), install_count, rating_avg, provider columns
  • CREATE agent_installs: tracks who installed which agent (RLS)
  • CREATE agent_reviews: 1-5 rating + one-per-user constraint (RLS)
  • Trigger: auto-update agents.rating_avg on review insert/update/delete
  • Update Agent interface with marketplace fields
  • Add AgentInstall, AgentReview interfaces + row type aliases

Related Issue

None

Type of Change

  • [ ✓ ] ✨ New feature (non-breaking change that adds functionality)

How Has This Been Tested?

Internal

  • [ x ] Unit tests
  • [ ✓ ] Manual testing
  • [ x ] Browser testing (specify browsers)

Screenshots (if applicable)

None

Checklist

  • [ ✓ ] My code follows the project's coding standards
  • [ ✓ ] I have run npm run lint and there are no errors
  • [ ✓ ] I have run npm run test and all tests pass
  • [ ✓ ] I have added tests for my changes (if applicable)
  • [ ✓ ] I have updated the documentation (if applicable)
  • [ ✓ ] My source files have AGPL licence headers
  • [ ✓ ] My changes generate no new TypeScript errors

- ALTER agents: add is_published, marketplace_tags (GIN index),
  install_count, rating_avg, provider columns
- CREATE agent_installs: tracks who installed which agent (RLS)
- CREATE agent_reviews: 1-5 rating + one-per-user constraint (RLS)
- Trigger: auto-update agents.rating_avg on review insert/update/delete
- Update Agent interface with marketplace fields
- Add AgentInstall, AgentReview interfaces + row type aliases
@vercel
Copy link
Copy Markdown

vercel Bot commented Feb 25, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
crewform Ready Ready Preview, Comment Feb 25, 2026 3:31pm

@vincentgrobler vincentgrobler merged commit fe68879 into main Feb 25, 2026
5 checks passed
@vincentgrobler vincentgrobler deleted the feature/ticket-5.1-marketplace-schema branch March 5, 2026 10:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant