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:
@@ -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;
|
||||
2975
packages/db/migrations/meta/20251229220153_snapshot.json
Normal file
2975
packages/db/migrations/meta/20251229220153_snapshot.json
Normal file
File diff suppressed because it is too large
Load Diff
@@ -148,6 +148,13 @@
|
||||
"when": 1764621815672,
|
||||
"tag": "20251201204335_AddCardDueDates",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 21,
|
||||
"version": "7",
|
||||
"when": 1767045713686,
|
||||
"tag": "20251229220153_UpdateCardTitleFromVarcharToText",
|
||||
"breakpoints": true
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user