Commit 395cdead6b1965dd654adcb96a582379c723d91c

Authored by Luciano Prestes
1 parent c186ce27

Fix namespace on spb_migrations

src/noosfero-spb/spb_migrations/db/migrate/20160104182236_remove_softwares_with_nil_community.rb
1 1 class RemoveSoftwaresWithNilCommunity < ActiveRecord::Migration
2 2 def up
3   - execute('DELETE FROM software_infos where community_id IS NULL;')
  3 + execute('DELETE FROM software_communities_plugin_software_infos where community_id IS NULL;')
4 4 end
5 5  
6 6 def down
... ...