20160104182236_remove_softwares_with_nil_community.rb 241 Bytes Edit Raw Blame History 1 2 3 4 5 6 7 8 9 class RemoveSoftwaresWithNilCommunity < ActiveRecord::Migration def up execute('DELETE FROM software_communities_plugin_software_infos where community_id IS NULL;') end def down say"This migration can't be reverted" end end