Commit e5c603ce87f0716eb53c8565fcfd65af92ac25e5

Authored by Thiago Ribeiro
1 parent e758b20c

Fix software_events_block with atribute type

- Type is reserverd word in ruby =)
src/noosfero-spb/software_communities/db/migrate/20151124192503_update_namespace_types.rb
... ... @@ -11,6 +11,7 @@ class UpdateNamespaceTypes < ActiveRecord::Migration
11 11 execute("UPDATE blocks SET type = 'SoftwareCommunitiesPlugin::WikiBlock' WHERE type = 'WikiBlock'")
12 12 execute("UPDATE blocks SET type = 'SoftwareCommunitiesPlugin::SoftwareInformationBlock' WHERE type = 'SoftwareInformationBlock'")
13 13 execute("UPDATE blocks SET type = 'SoftwareCommunitiesPlugin::CategoriesSoftwareBlock' WHERE type = 'CategoriesSoftwareBlock'")
  14 + execute("UPDATE blocks SET type = 'SoftwareCommunitiesPlugin::SoftwareEventsBlock' WHERE type = 'SoftwareEventsBlock'")
14 15 execute("UPDATE tasks SET type = 'SoftwareCommunitiesPlugin::CreateSoftware' WHERE type = 'CreateSoftware'")
15 16 end
16 17  
... ...