-
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.
Nettoyer évènements phase dossier (#184)
* Meilleure gestion des évènements phase dossier vis à vis des "faux traitements" retournées par l'API DS * Afficher une phase "Accompagnement amont" à la création du dossier * fix type * Rajout sync complet
- Loading branch information
1 parent
19516c7
commit 62513ad
Showing
5 changed files
with
79 additions
and
7 deletions.
There are no files selected for viewing
25 changes: 25 additions & 0 deletions
25
migrations/20250225154953_ajout-champs-traitements-DS-evenements-phase-dossier.js
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,25 @@ | ||
/** | ||
* @param { import("knex").Knex } knex | ||
* @returns { Promise<void> } | ||
*/ | ||
export async function up(knex) { | ||
|
||
await knex.schema.alterTable('évènement_phase_dossier', function (table) { | ||
table.string('DS_emailAgentTraitant') | ||
table.text('DS_motivation') | ||
}); | ||
|
||
}; | ||
|
||
/** | ||
* @param { import("knex").Knex } knex | ||
* @returns { Promise<void> } | ||
*/ | ||
export async function down(knex) { | ||
|
||
await knex.schema.alterTable('évènement_phase_dossier', function (table) { | ||
table.dropColumn('DS_emailAgentTraitant') | ||
table.dropColumn('DS_motivation') | ||
}); | ||
|
||
}; |
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
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
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
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