Commit
eb4ff668a992d7f53bae0ae42636d6dcd112689d
Exists in
master
and in
42 other branches
add_sisp_to_chef, add_super_archives_plugin, automates_core_packing, backup_not_prod, changes_in_buttons_on_content_panel, colab_automated_login, colab_spb_plugin_recipe, colab_widgets_settings, disable_email_dev, fix_breadcrumbs_position, fix_categories_software_link, fix_edit_institution, fix_edit_software_with_another_license, fix_get_license_info, fix_gitlab_assets_permission, fix_list_style_inside_article, fix_list_style_on_folder_elements, fix_merge_request_url, fix_models_translations, fix_no_license, fix_software_communities_translations, fix_software_communities_unit_test, fix_style_create_institution_admin_panel, fix_superarchives_imports, fix_sym_links_noosfero, lxc_settings, margin_fix, mezuro_cookbook, refactor_download_block, remove_broken_theme, remove_secondary_email_from_user, remove_sisp_buttons, sisp_catalog_header, software_catalog_style_fix, software_communities_html_refactor, software_infos_api, spb_to_rails4, stable-4.1, stable-4.2, theme_header, theme_javascript_refactory, update_search_by_categories
Fix class name on migration
1
| -class RemoveSoftwareWithoutCommunity < ActiveRecord::Migration |
1
| +class RemoveSoftwaresWithNilCommunity < ActiveRecord::Migration |
2
| def up |
2
| def up |
3
| execute('DELETE FROM software_infos where community_id IS NULL;') |
3
| execute('DELETE FROM software_infos where community_id IS NULL;') |
4
| end |
4
| end |