fix(module-builder): widen category, disease, and pattern code columns to VARCHAR(128) #32

Merged
amit merged 2 commits from feat/admin-module-builder into main 2026-11-19 05:18:16 +00:00
Member

Expand category_code, disease_code, and pattern_code from VARCHAR(64) to VARCHAR(128)
in content.builder_* tables and Alembic migration 0005 to support descriptive TCM
clinical pattern slugs without truncation errors.

Expand category_code, disease_code, and pattern_code from VARCHAR(64) to VARCHAR(128) in content.builder_* tables and Alembic migration 0005 to support descriptive TCM clinical pattern slugs without truncation errors.
urvish added 1 commit 2026-11-16 07:06:01 +00:00
6808bd62c2 fix(module-builder): widen category, disease, and pattern code columns to VARCHAR(128)
Expand category_code, disease_code, and pattern_code from VARCHAR(64) to VARCHAR(128)
in content.builder_* tables and Alembic migration 0005 to support descriptive TCM
clinical pattern slugs without truncation errors.
amit reviewed 2026-11-17 05:05:25 +00:00
@ -155,2 +155,4 @@
)
# Expand code columns to 128 characters to safely handle long clinical pattern codes
op.alter_column("builder_categories", "category_code", type_=sa.String(128), schema=CONTENT_SCHEMA)
Owner

update to 256 char

update to 256 char
urvish added 1 commit 2026-11-17 06:28:17 +00:00
amit approved these changes 2026-11-19 05:17:59 +00:00
amit left a comment
Owner

Approved

Approved
amit merged commit 712a8e0267 into main 2026-11-19 05:18:16 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: AcuPedia/acupedia-api#32
No description provided.