- Added `archived` column and index to `departments` table, ensuring schema initialization via `departments_schema_bootstrap`. - Updated OpenAPI spec to include `archived` attribute and `filters=archived` query parameter with superuser access control. - Enhanced `Departments` API to support archived department filtering and retrieval. - Modified `ApiFixtures`, `departments_o`, and related tests to validate behavior for archived departments. - Added unit and API tests to ensure correct handling of archived departments and filter enforceability.
511 KiB
511 KiB