From c24fad55f5a35e4ae289fbbcd64dcf91491b9326 Mon Sep 17 00:00:00 2001 From: Sylvain Pastor Date: Thu, 14 Sep 2023 15:18:03 +0200 Subject: [PATCH] feat: change type for pia.progress --- 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