Skip to content

Commit

Permalink
fix(j-s): Migration (#16742)
Browse files Browse the repository at this point in the history
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
gudjong and kodiakhq[bot] authored Nov 6, 2024
1 parent 94a84fb commit 03b426a
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module.exports = {
Promise.all([
queryInterface.bulkUpdate(
'case',
{ prosecutorPostponedAppealDate: null },
{ prosecutor_postponed_appeal_date: null },
{
id: [
'7ee802fa-cfcd-48e6-b198-ea6c53a2ddd0',
Expand All @@ -19,16 +19,16 @@ module.exports = {
queryInterface.bulkUpdate(
'case',
{
accusedPostponedAppealDate: null,
accused_postponed_appeal_date: null,
},
{ id: 'fa4a89b7-5617-44fd-9691-c6cb6f8d27c5' },
{ transaction },
),
queryInterface.bulkUpdate(
'case',
{
prosecutorPostponedAppealDate: null,
accusedPostponedAppealDate: null,
prosecutor_postponed_appeal_date: null,
accused_postponed_appeal_date: null,
},
{
id: ['798e8e75-e853-48b3-a15d-1fbfcd018f98'],
Expand All @@ -38,9 +38,9 @@ module.exports = {
queryInterface.bulkUpdate(
'case',
{
appealState: null,
prosecutorPostponedAppealDate: null,
accusedPostponedAppealDate: null,
appeal_state: null,
prosecutor_postponed_appeal_date: null,
accused_postponed_appeal_date: null,
},
{
id: ['d909a866-7ed0-45ed-86c1-2445a7475e4e'],
Expand Down

0 comments on commit 03b426a

Please sign in to comment.