...
The packages/api/tests
folder contains tests of the API built with Jest. You can read more about this here.
Auto-Increment ID Conventions as of August 2024
In our migration strategy:
Manually Set IDs: Used for the
permissions
table to ensure consistent IDs across different environments (local, beta, production).Previously, hard-coding IDs led to "UniqueViolationError" issues when inserting new rows.
Jira Legacy server System Jira serverId 815f41e5-e5fb-3402-8587-82eccc3ffab0 key LF-3651
Auto-Increment IDs: Applied by default unless there's a specific reason to manually set IDs. This helps avoid conflicts and simplifies record management.