The open-source app everyone uses to manage agents at work
TypeScript acpxagent-orchestrationagent-skillsagentic-aiai-agentsai-engineeringai-governanceai-toolsautonomous-agentsclaudeclaude-codeclaude-skillscodexhermesllmmcpmulti-agentopenclawproject-managementworkflow-automation
fix(db): cast REPEAT count to integer in migration 0017
Forgotten083ffaa71efb
diff --git a/packages/db/src/migrations/0017_tiresome_gabe_jones.sql b/packages/db/src/migrations/0017_tiresome_gabe_jones.sqlindex 13973a9a2b..fbfc02dabe 100644--- a/packages/db/src/migrations/0017_tiresome_gabe_jones.sql+++ b/packages/db/src/migrations/0017_tiresome_gabe_jones.sql@@ -16,7 +16,7 @@ WITH ranked_companies AS (UPDATE companies cSET issue_prefix = CASEWHEN ranked_companies.prefix_rank = 1 THEN ranked_companies.base_prefix- ELSE ranked_companies.base_prefix || REPEAT('A', ranked_companies.prefix_rank - 1)+ ELSE ranked_companies.base_prefix || REPEAT('A', (ranked_companies.prefix_rank - 1)::integer)ENDFROM ranked_companiesWHERE c.id = ranked_companies.id;--> statement-breakpoint