migrate for app config. fix panel style intro misplace

This commit is contained in:
chris committed 2013-02-04 18:10:39 +08:00
1 parent 2b3cbc50b3
commit 9771d42587
2 files changed
+10 -1

No files matched your search

+9
View File
@@ -431,4 +431,13 @@ namespace :migrate do
end
task :clean_module_app_objects => :environment do
ModuleApp.all.each do |ma|
%w{intro widget_fields_link_method widgets get_default_widget app_pages author enable_frontend get_widget_style get_widget_style organization update_info using_default_widget version widget_fields version create_date}.each do |field|
ma.unset field
end
ma.save
end
end
end