def backwards(self, orm): db = dbs['stats'] db.dry_run = south.db.db.dry_run # Removing unique constraint on 'Machine', fields ['hardware_id'] db.delete_unique(u'stats_main_machine', ['hardware_id'])
def backwards(self, orm): db = dbs['stats'] db.dry_run = south.db.db.dry_run # Removing unique constraint on 'LogId', fields ['log_id'] db.delete_unique(u'stats_main_logid', ['log_id'])