* feat: add ticket numbers to cards with workspace prefix - Add cardNumber to cards - Add cardPrefix/cardCounter to workspace - Populate initial prefixes and numbers via new migration - Introduce generateWorkspacePrefix util and export it - Include cardNumber in card-related API responses and search results - Render and display tickets as PREFIX-NUMBER in UI - Update Card component to accept ticketNumber - Update CardModal and board cards to show number when available - Add cardNumber to CommandPalette search results type * feat: regen migration * feat: enhance card and workspace schemas with cardNumber and indexing - Updated the card repository to allocate card numbers atomically per workspace. - Modified the card schema to include a cardNumber field and added an index on listId and cardNumber for improved query performance. - Enhanced the workspace schema to include an index on cardPrefix for optimized lookups. - Adjusted the migration journal to reflect the new schema changes and their timestamps. - Updated the regex in workspace repository to allow alphanumeric prefixes in ticket IDs. --------- Co-authored-by: Henry <henry_ball@hotmail.co.uk>
237 lines
5.3 KiB
JSON
237 lines
5.3 KiB
JSON
{
|
|
"version": "7",
|
|
"dialect": "postgresql",
|
|
"entries": [
|
|
{
|
|
"idx": 0,
|
|
"version": "7",
|
|
"when": 1746693478656,
|
|
"tag": "20250508083758_SetupTables",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 1,
|
|
"version": "7",
|
|
"when": 1747903068807,
|
|
"tag": "20250522083748_AddEmailToWorkspaceMembers",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 2,
|
|
"version": "7",
|
|
"when": 1748378293342,
|
|
"tag": "20250527203813_AddDeletedAtToLabel",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 3,
|
|
"version": "7",
|
|
"when": 1749118315675,
|
|
"tag": "20250605101155_AddCascadeDeleteToCardRelations",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 4,
|
|
"version": "7",
|
|
"when": 1749405288761,
|
|
"tag": "20250608175448_AddOnDeleteActionToUserDeletion",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 5,
|
|
"version": "7",
|
|
"when": 1749377372062,
|
|
"tag": "20250608100932_AddIntegrationsTable",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 6,
|
|
"version": "7",
|
|
"when": 1749585889984,
|
|
"tag": "20250610200449_ReaddIntegrationTable",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 7,
|
|
"version": "7",
|
|
"when": 1754511666265,
|
|
"tag": "20250806202106_glossy_luminals",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 8,
|
|
"version": "7",
|
|
"when": 1755094668761,
|
|
"tag": "20250813141748_AddChecklistActivityTypes",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 9,
|
|
"version": "7",
|
|
"when": 1756803246096,
|
|
"tag": "20250902085406_AddSubscriptions",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 10,
|
|
"version": "7",
|
|
"when": 1757271312974,
|
|
"tag": "20250907185512_AddUnlimitedSeatsToSubscription",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 11,
|
|
"version": "7",
|
|
"when": 1757533858687,
|
|
"tag": "20250910195058_RemoveNotNullConstraintFromReferenceIdOnSubsriptions",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 12,
|
|
"version": "7",
|
|
"when": 1757534656098,
|
|
"tag": "20250910200416_AddWorkspaceSlugChecks",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 13,
|
|
"version": "7",
|
|
"when": 1757535838766,
|
|
"tag": "20250910202358_AddCascadeSetNullToReferenceIdOnSubsriptions",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 14,
|
|
"version": "7",
|
|
"when": 1758226671081,
|
|
"tag": "20250918201751_AddPausedMemberStatus",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 15,
|
|
"version": "7",
|
|
"when": 1758662398166,
|
|
"tag": "20250923211958_AddWorkspaceInviteLinks",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 16,
|
|
"version": "7",
|
|
"when": 1759356096392,
|
|
"tag": "20251001220136_AddFuzzySearchSupport",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 17,
|
|
"version": "7",
|
|
"when": 1759869689304,
|
|
"tag": "20251007204129_AddBoardTypeAndSourceIdColumns",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 18,
|
|
"version": "7",
|
|
"when": 1760044396109,
|
|
"tag": "20251009211316_AddBoardSourceIdToCardActivity",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 19,
|
|
"version": "7",
|
|
"when": 1762807463569,
|
|
"tag": "20251110204423_AddCardAttachments",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 20,
|
|
"version": "7",
|
|
"when": 1764621815672,
|
|
"tag": "20251201204335_AddCardDueDates",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 21,
|
|
"version": "7",
|
|
"when": 1767045713686,
|
|
"tag": "20251229220153_UpdateCardTitleFromVarcharToText",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 22,
|
|
"version": "7",
|
|
"when": 1768858977000,
|
|
"tag": "20260119164257_AddShowEmailsToMembersToWorkspace",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 23,
|
|
"version": "7",
|
|
"when": 1769435949476,
|
|
"tag": "20260126135909_AddWorkspaceRoles",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 24,
|
|
"version": "7",
|
|
"when": 1769983198190,
|
|
"tag": "20260201215958_AddUserBoardFavouritesTable",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 25,
|
|
"version": "7",
|
|
"when": 1770500457005,
|
|
"tag": "20260207214056_AddNotificationsTable",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 26,
|
|
"version": "7",
|
|
"when": 1770521594167,
|
|
"tag": "20260208033314_AddAttachmentToActivity",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 27,
|
|
"version": "7",
|
|
"when": 1771192000000,
|
|
"tag": "20260129210000_AddWorkspaceWebhooks",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 28,
|
|
"version": "7",
|
|
"when": 1772049587901,
|
|
"tag": "20260225195947_AddIsArchivedToBoard",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 29,
|
|
"version": "7",
|
|
"when": 1771930355536,
|
|
"tag": "20260224105235_AddGitHubIntegrationSupport",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 30,
|
|
"version": "7",
|
|
"when": 1773212242728,
|
|
"tag": "20260311065722_AddWeekStartDay",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 31,
|
|
"version": "7",
|
|
"when": 1775170588247,
|
|
"tag": "20260402225628_AddTeamWorkspacePlan",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 32,
|
|
"version": "7",
|
|
"when": 1776809379931,
|
|
"tag": "20260421220939_AddCardNumber",
|
|
"breakpoints": true
|
|
}
|
|
]
|
|
} |