Skip to content

Commit

Permalink
feat(contributions): mise à jour des tables de références legi et kal…
Browse files Browse the repository at this point in the history
…i pour ajouter une colonne label (#934)
  • Loading branch information
carolineBda authored Jun 7, 2023
1 parent 0796251 commit fc06279
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README-dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,10 @@ travail/emploi...).
This step runs the Ingester script and populate the documentation.
> Run the Ingester (it starts Hasura as dependency):
> Run the Ingester (/!\ hasura must be started):
>
> ```sh
> docker-compose up ingester
> yarn workspace ingester run cli:dev
> ```
### Frontend
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,14 @@ insert_permissions:
columns:
- answer_id
- article_id
- label
select_permissions:
- role: super
permission:
columns:
- article_id
- answer_id
- article_id
- label
filter: {}
delete_permissions:
- role: super
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
alter table "contribution"."answer_kali_references" drop column "label";
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
alter table "contribution"."answer_kali_references" add column "label" text
null;

0 comments on commit fc06279

Please sign in to comment.