From a6703f92a7bb2e8ae1362b192500ce0874c5f59d Mon Sep 17 00:00:00 2001 From: IMonardez Date: Wed, 11 Dec 2024 19:15:02 -0300 Subject: [PATCH] ISSUE #448: Fix CreateProgramLevel migration --- db/migrate/20240527174758_create_program_level.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/migrate/20240527174758_create_program_level.rb b/db/migrate/20240527174758_create_program_level.rb index daefeacd..cec64c31 100644 --- a/db/migrate/20240527174758_create_program_level.rb +++ b/db/migrate/20240527174758_create_program_level.rb @@ -16,7 +16,7 @@ def up pl = pl.paper_trail.previous_version while pl.present? if pl.value != level - end_date = start_date + end_date = program_level.start_date start_date = pl.updated_at level = pl.value program_level = ProgramLevel.create(