From 8fdaa465bd5bf73816590386bd220def8fbf53eb Mon Sep 17 00:00:00 2001 From: Anton Argirov Date: Tue, 14 Jul 2015 12:09:31 +0600 Subject: [PATCH] #22: Added fake migration to prevent migration errors from version 0.0.4 --- ...0522134436_make_after_save_and_before_save_nullable.rb | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 db/migrate/20150522134436_make_after_save_and_before_save_nullable.rb diff --git a/db/migrate/20150522134436_make_after_save_and_before_save_nullable.rb b/db/migrate/20150522134436_make_after_save_and_before_save_nullable.rb new file mode 100644 index 0000000..1d4d947 --- /dev/null +++ b/db/migrate/20150522134436_make_after_save_and_before_save_nullable.rb @@ -0,0 +1,8 @@ +class MakeAfterSaveAndBeforeSaveNullable < ActiveRecord::Migration + def up + change_column :custom_workflows, :before_save, :text, :null => true, :default => nil + change_column :custom_workflows, :after_save, :text, :null => true, :default => nil + end + def down + end +end