From deaaa57ab7366a92afea88dcdc42daab3498cae7 Mon Sep 17 00:00:00 2001 From: syl-p <50445384+syl-p@users.noreply.github.com> Date: Tue, 19 Sep 2023 13:27:23 +0200 Subject: [PATCH] feat: change type for pia.progress (#229) Co-authored-by: Sylvain Pastor --- db/migrate/20230914120530_change_type_value_progress.rb | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 db/migrate/20230914120530_change_type_value_progress.rb diff --git a/db/migrate/20230914120530_change_type_value_progress.rb b/db/migrate/20230914120530_change_type_value_progress.rb new file mode 100644 index 00000000..68c35243 --- /dev/null +++ b/db/migrate/20230914120530_change_type_value_progress.rb @@ -0,0 +1,5 @@ +class ChangeTypeValueProgress < ActiveRecord::Migration[7.0] + def change + change_column :pias, :progress, :float, default: 0.0 + end +end