From aec0bf39ebef663b5f805d992d62ded702bd5b56 Mon Sep 17 00:00:00 2001 From: Dushan Despotovic Date: Fri, 8 Jul 2022 10:57:52 +0100 Subject: [PATCH] fix schema and migration --- db/migrate/20220706104313_add_unit_type_sh.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/db/migrate/20220706104313_add_unit_type_sh.rb b/db/migrate/20220706104313_add_unit_type_sh.rb index 008d29e76..fa7aa9732 100644 --- a/db/migrate/20220706104313_add_unit_type_sh.rb +++ b/db/migrate/20220706104313_add_unit_type_sh.rb @@ -1,5 +1,7 @@ class AddUnitTypeSh < ActiveRecord::Migration[7.0] - change_table :case_logs, bulk: true do |t| - t.integer :unittype_sh + def change + change_table :case_logs, bulk: true do |t| + t.integer :unittype_sh + end end end