From cd6bae6e351b1eeb89762e66fe1f1012d762e1bb Mon Sep 17 00:00:00 2001 From: "osboxes.org" Date: Tue, 9 May 2017 14:14:01 +0200 Subject: [PATCH] Added migration to remove updated_at from Activity [fixes SCI-1145] --- db/migrate/20170509113030_remove_updated_at_from_activity.rb | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 db/migrate/20170509113030_remove_updated_at_from_activity.rb diff --git a/db/migrate/20170509113030_remove_updated_at_from_activity.rb b/db/migrate/20170509113030_remove_updated_at_from_activity.rb new file mode 100644 index 000000000..b38a2fa20 --- /dev/null +++ b/db/migrate/20170509113030_remove_updated_at_from_activity.rb @@ -0,0 +1,5 @@ +class RemoveUpdatedAtFromActivity < ActiveRecord::Migration + def change + remove_column :activities, :updated_at, :datetime + end +end