fix: extend allowed card title length (#301)

* feat: update card title from varchar to text

* feat: add input length validation

* fix: slice title when longer than max chars during import
This commit is contained in:
Henry
2025-12-29 22:50:16 +00:00
committed by GitHub
parent 73c9b326a1
commit 2b8fe3d3a2
6 changed files with 2992 additions and 7 deletions

View File

@@ -0,0 +1,3 @@
ALTER TABLE "card_activity" ALTER COLUMN "fromTitle" SET DATA TYPE text;--> statement-breakpoint
ALTER TABLE "card_activity" ALTER COLUMN "toTitle" SET DATA TYPE text;--> statement-breakpoint
ALTER TABLE "card" ALTER COLUMN "title" SET DATA TYPE text;

File diff suppressed because it is too large Load Diff

View File

@@ -148,6 +148,13 @@
"when": 1764621815672,
"tag": "20251201204335_AddCardDueDates",
"breakpoints": true
},
{
"idx": 21,
"version": "7",
"when": 1767045713686,
"tag": "20251229220153_UpdateCardTitleFromVarcharToText",
"breakpoints": true
}
]
}