-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: ajout du champs hightlight a la table document (#1118)
* feat: ajout du champs hightlight a la table document * fix: page CC au lieu de contribution --------- Co-authored-by: Victor <[email protected]>
- Loading branch information
Showing
2 changed files
with
4 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
4 changes: 4 additions & 0 deletions
4
targets/hasura/migrations/default/1698219011954_update_document_highlight/up.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
update documents | ||
set "document" = jsonb_set("document", '{highlight}','{"title": "A noter : à partir du 01/01/2024 les informations ci-dessous ne seront plus applicables","content": "En effet, jusqu’au 31/12/2023, ce sont les conventions locales de la métallurgie ainsi que la convention spécifique aux ingénieurs et cadres de la métallurgie qui s’appliquent. Toutes ces conventions vont être regroupées pour former la convention collective nationale de la métallurgie (IDCC 3248) à partir du 01/01/2024."}', true) | ||
where "source" = 'conventions_collectives' | ||
and split_part(slug, '-', 1) = any(ARRAY['54', '650', '714', '822', '827', '828', '829', '836', '860', '863', '878', '887', '898', '899', '911', '914', '920', '923', '930', '934', '937', '943', '948', '965', '979', '984', '1007', '1059', '1159', '1164', '1274', '1315', '1353', '1365', '1369', '1387', '1472', '1525', '1560', '1564', '1572', '1576', '1577', '1578', '1592', '1604', '1626', '1627', '1628', '1634', '1635', '1732', '1813', '1867', '1885', '1902', '1912', '1960', '1966', '1967', '2003', '2126', '2221', '2266', '2294', '2489', '2542', '2579', '2615', '2630', '2700', '2755', '2980', '2992', '3053', '3209', '3231']) |