Name

global.AddIndexesForCMDBTables

Description

No description available

Script

var AddIndexesForCMDBTables = Class.create();
AddIndexesForCMDBTables.prototype = {
  initialize: function() {},
  
  createIndex: function(table, fields, indexName) {
  	gs.log('Initialize index creation for table: '+ table + ' on '+ fields);
      var index = new IndexCreator(table, fields, false, null, indexName);
      index.schedule();
  	gs.log('Scheduled index creation for table: '+ table + ' on '+ fields);
  },

  type: 'AddIndexesForCMDBTables'
};

Sys ID

0eebefd377500110a69410ed9f5a991b

Offical Documentation

Official Docs: