def backwards(self, orm):
     
     # Deleting field 'StandingOut.short_description'
     delete_south_trans_column(
         table='standingout_standingout',
         field_name='short_description',
     )
示例#2
0
    def backwards(self, orm):

        # Deleting field 'BaseContent.no_changeable_fields'
        delete_south_trans_column(
            table='standingout_standingout',
            field_name='title',
        )
示例#3
0
    def backwards(self, orm):

        # Deleting field 'StandingOut.short_description'
        delete_south_trans_column(
            table='standingout_standingout',
            field_name='short_description',
        )
 def backwards(self, orm):
     
     # Deleting field 'BaseContent.no_changeable_fields'
     delete_south_trans_column(
         table='standingout_standingout',
         field_name='title',
     )
    def forwards(self, orm):
        # Deleting field 'basesection.main_menu_template'
        db.delete_column('section_basesection', 'main_menu_template')

        # Deleting field 'basesection.interest_menu'
        db.delete_column('section_basesection', 'interest_menu_id')

        # Deleting field 'basesection.secondary_menu_template'
        db.delete_column('section_basesection', 'secondary_menu_template')

        # Deleting field 'basesection.secondary_menu'
        db.delete_column('section_basesection', 'secondary_menu_id')

        # Deleting field 'basesection.interest_menu_template'
        db.delete_column('section_basesection', 'interest_menu_template')

        delete_south_trans_column(
            table='section_document',
            field_name='photo_description',
        )

        # Deleting field 'customstyle.searcher_right_arrow'
        db.delete_column('section_customstyle', 'searcher_right_arrow')

        # Deleting field 'customstyle.searcher_tab_image'
        db.delete_column('section_customstyle', 'searcher_tab_image')

        # Deleting field 'customstyle.content_head_background'
        db.delete_column('section_customstyle', 'content_head_background')

        # Deleting field 'customstyle.search_results_item_background'
        db.delete_column('section_customstyle',
                         'search_results_item_background')

        # Deleting field 'customstyle.searcher_last_tab_image'
        db.delete_column('section_customstyle', 'searcher_last_tab_image')

        # Deleting field 'customstyle.menu_head_background'
        db.delete_column('section_customstyle', 'menu_head_background')

        # Deleting field 'customstyle.menu_link_color'
        db.delete_column('section_customstyle', 'menu_link_color')

        # Deleting field 'customstyle.searcher_left_arrow'
        db.delete_column('section_customstyle', 'searcher_left_arrow')

        # Deleting field 'customstyle.color_3'
        db.delete_column('section_customstyle', 'color_3')

        # Deleting field 'customstyle.color_2'
        db.delete_column('section_customstyle', 'color_2')

        # Deleting field 'customstyle.color_1'
        db.delete_column('section_customstyle', 'color_1')
    def forwards(self, orm):
        # Deleting field 'basesection.main_menu_template'
        db.delete_column('section_basesection', 'main_menu_template')

        # Deleting field 'basesection.interest_menu'
        db.delete_column('section_basesection', 'interest_menu_id')

        # Deleting field 'basesection.secondary_menu_template'
        db.delete_column('section_basesection', 'secondary_menu_template')

        # Deleting field 'basesection.secondary_menu'
        db.delete_column('section_basesection', 'secondary_menu_id')

        # Deleting field 'basesection.interest_menu_template'
        db.delete_column('section_basesection', 'interest_menu_template')

        delete_south_trans_column(
            table='section_document',
            field_name='photo_description',
        )

        # Deleting field 'customstyle.searcher_right_arrow'
        db.delete_column('section_customstyle', 'searcher_right_arrow')

        # Deleting field 'customstyle.searcher_tab_image'
        db.delete_column('section_customstyle', 'searcher_tab_image')

        # Deleting field 'customstyle.content_head_background'
        db.delete_column('section_customstyle', 'content_head_background')

        # Deleting field 'customstyle.search_results_item_background'
        db.delete_column('section_customstyle', 'search_results_item_background')

        # Deleting field 'customstyle.searcher_last_tab_image'
        db.delete_column('section_customstyle', 'searcher_last_tab_image')

        # Deleting field 'customstyle.menu_head_background'
        db.delete_column('section_customstyle', 'menu_head_background')

        # Deleting field 'customstyle.menu_link_color'
        db.delete_column('section_customstyle', 'menu_link_color')

        # Deleting field 'customstyle.searcher_left_arrow'
        db.delete_column('section_customstyle', 'searcher_left_arrow')

        # Deleting field 'customstyle.color_3'
        db.delete_column('section_customstyle', 'color_3')

        # Deleting field 'customstyle.color_2'
        db.delete_column('section_customstyle', 'color_2')

        # Deleting field 'customstyle.color_1'
        db.delete_column('section_customstyle', 'color_1')
 def backwards(self, orm):
     delete_south_trans_column(
         table='collab_collabcommentrevisorstatustype',
         field_name='reason',
     )
     delete_south_trans_column(
         table='collab_collabcommentrevisorstatustype',
         field_name='label',
     )
     delete_south_trans_column(
         table='collab_collabcommentusertype',
         field_name='label',
     )
 def backwards(self, orm):
     delete_south_trans_column(
         table='section_document',
         field_name='body',
     )
 def backwards(self, orm):
     delete_south_trans_column(
         table='section_menu',
         field_name='help_text',
     )
 def backwards(self, orm):
     # Deleting field 'BaseContent.no_changeable_fields'
     delete_south_trans_column(
         table='base_basecontent',
         field_name='cached_plain_text',
     )
 def backwards(self, orm):
     # Deleting field 'BaseContent.no_changeable_fields'
     delete_south_trans_column(
         table='base_basecontent',
         field_name='cached_plain_text',
     )