diff --git a/.travis.yml b/.travis.yml index a19bae1b..fb9d5592 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,6 @@ -osx_image: xcode10.1 # define OS X image which will be mounted +osx_image: xcode10.1 # define OS X image which will be mounted -dist: trusty # use Ubuntu Trusty for Linux operation system +dist: trusty # use Ubuntu Trusty for Linux operation system # Note: if you switch to sudo: false, you'll need to launch chrome with --no-sandbox. # See https://github.com/travis-ci/travis-ci/issues/8836 @@ -13,6 +13,7 @@ env: global: - ELECTRON_CACHE=$HOME/.cache/electron - ELECTRON_BUILDER_CACHE=$HOME/.cache/electron-builder + - YARN_GPG=no os: - linux @@ -22,23 +23,20 @@ os: cache: yarn: true directories: - - node_modules - - $HOME/.cache/electron - - $HOME/.cache/electron-builder - - $HOME/.npm/_prebuilds + - node_modules + - $HOME/.cache/electron + - $HOME/.cache/electron-builder + - $HOME/.npm/_prebuilds before_install: -# - mkdir -p /tmp/git-lfs && curl -L https://github.com/github/git-lfs/releases/download/v2.2.0/git-lfs-$([ "$TRAVIS_OS_NAME" == "linux" ] && echo "linux" || echo "darwin")-amd64-2.2.0.tar.gz | tar -xz -C /tmp/git-lfs --strip-components 1 && /tmp/git-lfs/git-lfs pull - - curl -L https://yarnpkg.com/latest.tar.gz | tar xz && mv yarn-* $HOME/.yarn - - export PATH="$HOME/.yarn/bin:$PATH" - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install rpm; fi install: - - if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then npm install --global --production windows-build-tools --vs2015; fi + - if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then npm install --global --production windows-build-tools --vs2015; fi - if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then powershell -ExecutionPolicy ByPass -File db/scripts/travis_download_pg.ps1; fi - if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then ./resetvars.bat; fi - if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then PATH=$PATH:`pwd`/PostgreSQL/pgsql/bin; fi - - yarn install --network-timeout 1000000 + - travis_wait yarn install --network-timeout 1000000 script: - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then yarn release; fi diff --git a/README.md b/README.md index 3c879920..7a0eed1d 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,7 @@ platform telecommunication management desktop app. ## Features * Parsing telecommunication configuration management dumps for various vendors(Ericsson, Huawei, Nokia, ZTE) * Reports module that supports tabular, graphs, and composite(dashboard-like) reports +* Advanced GIS module ## Built with * [Electron](https://electronjs.org) @@ -15,6 +16,10 @@ platform telecommunication management desktop app. * [ReactJs](https://reactjs.org/) * [SQLite3](https://www.sqlite.org/index.html) +## Screenshots +![BTS-CE-Lite Dashboard and Reports](/dashboard_and_reports.png?raw=true "Dashboard and Reports") + +![BTS-CE-Lite GIS](/gis.jpeg?raw=true "GIS") ## Getting help To report issues with the application or request new features use the issue tracker. For help and customizations send an email to info@bodastage.com. diff --git a/__tests__/data/bcf.csv b/__tests__/data/bcf.csv new file mode 100644 index 00000000..e69de29b diff --git a/__tests__/data/bcf.xml b/__tests__/data/bcf.xml new file mode 100644 index 00000000..e69de29b diff --git a/__tests__/data/bcf_2g.csv b/__tests__/data/bcf_2g.csv new file mode 100644 index 00000000..ee030b58 --- /dev/null +++ b/__tests__/data/bcf_2g.csv @@ -0,0 +1,10 @@ +technology,ci,cellname,siteid,carrier_layer,azimuth,electrical_tilt,mechanical_tilt,lac,node,bcch,trx_frequencies,antenna_beam,latitude,longitude,height,vendor,cell_type,bsic,ncc,bcc,mnc,mcc,cgi,nbr_1,nbr_2,nbr_3 +GSM,1234,CELLNAME1,SITEID1,G900,30,30.5,20.1,1234,BSC1,1234,1;2;3;4,60,0.31628,32.58219,5,Bodastage Solutions,macro,12,1,2,33,641,641-33-1234-1234,1235,, +GSM,1235,CELLNAME2,SITEID1,G900,60,30.5,20.1,1234,BSC1,1235,1;2;3;4,60,0.31628,32.58219,5,Bodastage Solutions,macro,12,1,2,33,641,641-33-1234-1234,1234,, +GSM,1236,CELLNAME6,SITEID1,G900,90,30.5,20.1,1234,BSC1,1234,1;2;3;4,60,0.31628,32.58219,5,Bodastage Solutions,macro,12,1,2,33,641,641-33-1234-1234,1235,, +GSM,1237,CELLNAME7,SITEID1,G900,120,30.5,20.1,1234,BSC1,1235,1;2;3;4,60,0.31628,32.58219,5,Bodastage Solutions,macro,12,1,2,33,641,641-33-1234-1234,1234,, +GSM,1238,CELLNAME8,SITEID1,G900,0,30.5,20.1,1234,BSC1,1235,1;2;3;4,60,0.349698,32.639762,5,Bodastage Solutions,macro,12,1,2,33,641,641-33-1234-1234,1234,, +GSM,1239,CELLNAME9,SITEID1,G900,0,30.5,20.1,1234,BSC1,1235,1;2;3;4,60,0.290414,32.597591,5,Bodastage Solutions,macro,12,1,2,33,641,641-33-1234-1234,1234,1299,1238 +GSM,1299,CELLNAME10,SITEID9,G900,60,30.5,20.1,1234,BSC1,1235,1;2;3;4,60,0.297034,32.653535,5,Bodastage Solutions,macro,12,1,2,33,641,641-33-1234-1234,1234,, + + diff --git a/__tests__/data/bcf_3g.csv b/__tests__/data/bcf_3g.csv new file mode 100644 index 00000000..e69de29b diff --git a/__tests__/data/bcf_4g.csv b/__tests__/data/bcf_4g.csv new file mode 100644 index 00000000..e69de29b diff --git a/__tests__/data/bcf_5g.csv b/__tests__/data/bcf_5g.csv new file mode 100644 index 00000000..e69de29b diff --git a/background/background-process.html b/background/background-process.html index 1424971b..b1457c04 100644 --- a/background/background-process.html +++ b/background/background-process.html @@ -21,27 +21,13 @@

Background process

const utils = window.require('./background-utils'); const fixPath = window.require('fix-path'); +const vendorFormats = window.require('./vendor-formats'); +const VENDOR_CM_PARSERS = vendorFormats.VENDOR_CM_PARSERS; + log.info(`[parse_cm_job] Starting hidden window to run as background process`) log.info(`PATH: ${process.env.PATH}`) -const VENDOR_PARSERS = { - 'ERICSSON': { - 'BULKCM': 'boda-bulkcmparser.jar', - 'CNAIV2': 'boda-ericssoncnaiparser.jar', - }, - 'HUAWEI': { - 'GEXPORT_XML': 'boda-huaweicmobjectparser.jar', - 'CFGMML': 'boda-huaweimmlparser.jar', - 'NBI_XML': 'boda-huaweicmxmlparser.jar' - }, - 'ZTE': { - 'BULKCM': 'boda-bulkcmparser.jar', - 'XLS': 'boda_ztexlscmparser.jar', - }, - 'NOKIA': { - 'RAML': 'boda-nokiacmdataparser.jar' - } -} + /* * Extract rar file into targetFolder @@ -75,7 +61,7 @@

Background process

* @param string targetFolder Name of destination folder */ extractGzip = (fileName, targetFolder) => { - console.log("Running extractGzip ....") + const targetFile = path.join(targetFolder, path.basename(fileName).replace(".gz","")); gunzip( fileName, targetFile); @@ -133,7 +119,7 @@

Background process

* @param string folderName */ uncompressFiles = async (folderName) => { - sendLogToUI('parse_cm_data','info', `Uncompressing files in ${folderName} ... `); + sendLogToUI('parse_data','info', `Uncompressing files in ${folderName} ... `); log.info(`[parse_cm_job] Uncompressing files in ${folderName} ...`) let files = fs.readdirSync(folderName, { withFileTypes: true }).filter(dirent => !dirent.isDirectory()).map(dirent => dirent.name); @@ -151,7 +137,7 @@

Background process

gunzip( filePath, filePath.replace('.gz',''), function() { log.info(`[parse_cm_job] Uncompressed ${filename} successfully.`) - sendLogToUI('parse_cm_data','info', `Uncompressed ${filename}. `); + sendLogToUI('parse_data','info', `Uncompressed ${filename}. `); resolve(`Uncompressed ${filename}. `) }); @@ -160,11 +146,11 @@

Background process

); }else{ log.info(`[parse_cm_job] Skip uncompressing of ${filePath}`); - sendLogToUI('parse_cm_data','info', `[parse_cm_job] Skip uncompressing of ${filePath}`); + sendLogToUI('parse_data','info', `[parse_cm_job] Skip uncompressing of ${filePath}`); } }catch(e){ log.info(`[parse_cm_job] file:${filename} fType:${fType} error:${e.toString()}`) - sendLogToUI('parse_cm_data','error', `[parse_cm_job] file:${filename} fType:${fType} error:${e.toString()}`); + sendLogToUI('parse_data','error', `[parse_cm_job] file:${filename} fType:${fType} error:${e.toString()}`); } } @@ -274,7 +260,7 @@

Background process

let fType = getFileType(filePath); if(typeof fType === 'undefined'){ - sendLogToUI('parse_cm_data','info', `[parse_cm_job] Skip uncompressing of ${filePath}`); + sendLogToUI('parse_data','info', `[parse_cm_job] Skip uncompressing of ${filePath}`); continue; } @@ -290,7 +276,7 @@

Background process

fType.mime === 'application/x-gtar' ) { log.info(`Uncompressing ${files[i]}...`); - sendLogToUI('parse_cm_data','info', `Uncompressing ${files[i]}...`); + sendLogToUI('parse_data','info', `Uncompressing ${files[i]}...`); unCompressFile(filePath,folderName); @@ -299,7 +285,7 @@

Background process

fs.renameSync(filePath, newPath) }else{ - sendLogToUI('parse_cm_data','info', `[parse_cm_job] Skip uncompressing of ${filePath}`); + sendLogToUI('parse_data','info', `[parse_cm_job] Skip uncompressing of ${filePath}`); log.info(`[parse_cm_job] Skip uncompressing of ${filePath}`); } }catch(e){ @@ -378,7 +364,7 @@

Background process

inputFile = path.join(inputFolder,f); log.info(`Cleaning ${f}...`); - sendLogToUI('parse_cm_data','info', `Cleaning ${f}...`); + sendLogToUI('parse_data','info', `Cleaning ${f}...`); const child = spawnSync(sed, ['-i', '-r', '-f', sedScript, inputFile]); log.info(`${sed} -i -r -f ${sedScript} ${inputFile}`); @@ -403,14 +389,14 @@

Background process

const repeatedFilesFolder = path.join(pathToFolder,'repeated_files'); log.info(`[parse_cm_job] Creating folder for duplicate files: ${repeatedFilesFolder} ... `) - sendLogToUI('parse_cm_data','info', `[parse_cm_job] Creating folder for duplicate files: ${repeatedFilesFolder} ... `); + sendLogToUI('parse_data','info', `[parse_cm_job] Creating folder for duplicate files: ${repeatedFilesFolder} ... `); if (!fs.existsSync(repeatedFilesFolder)) { fs.mkdirSync(repeatedFilesFolder) } log.info("[parse_cm_job] Starting removal of duplicate gexport files...") - sendLogToUI('parse_cm_data','info', `[parse_cm_job] Creating folder for duplicate files: ${repeatedFilesFolder} ... `); + sendLogToUI('parse_data','info', `[parse_cm_job] Creating folder for duplicate files: ${repeatedFilesFolder} ... `); //Key - value pair of node and the most recent file let nodeAndRecentFile = {}; @@ -421,7 +407,7 @@

Background process

let gexportFilename = items[i]; let matches = gexportFilename.match(/(.*)_(\d+)\.xml.*/) - sendLogToUI('parse_cm_data','info', `Checking whether ${gexportFilename} is a duplicate... `); + sendLogToUI('parse_data','info', `Checking whether ${gexportFilename} is a duplicate... `); log.info(`[parse_cm_job] Checking whether ${gexportFilename} is a duplicate... `) if(matches === null) continue; @@ -449,7 +435,7 @@

Background process

nodeAndRecentFile = {}; - sendLogToUI('parse_cm_data','info', `Duplicate file removal completed.`); + sendLogToUI('parse_data','info', `Duplicate file removal completed.`); log.info(`[parse_cm_job] Duplicate file removal completed.`) } @@ -463,7 +449,7 @@

Background process

basepath = process.resourcesPath } - const parser = VENDOR_PARSERS[vendor][format] + const parser = VENDOR_CM_PARSERS[vendor][format] const parserPath = path.join(basepath,'libraries',parser) @@ -473,12 +459,12 @@

Background process

removeDublicateHuaweiGExportFiles(inputFolder) log.info(`[parse_cm_job] Uncompressing files GExport XML files...`) - sendLogToUI('parse_cm_data','info',`Uncompressing files GExport XML files...` ); + sendLogToUI('parse_data','info',`Uncompressing files GExport XML files...` ); uncompressFolder(inputFolder); log.info(`[parse_cm_job] Uncompressing files GExport XML files...`) - sendLogToUI('parse_cm_data','info',`Cleaning GExport XML files...`); + sendLogToUI('parse_data','info',`Cleaning GExport XML files...`); if(process.platform === "win32"){ //If windows test, with sed.exe @@ -488,15 +474,15 @@

Background process

} log.info(`[parse_cm_job] Cleanup of GExport XML files completed.`); - sendLogToUI('parse_cm_data','info',`Cleanup of GExport XML files completed.`); + sendLogToUI('parse_data','info',`Cleanup of GExport XML files completed.`); }catch(error){ log.error('[parse_cm_job] Error occurred:', error); if(typeof error === 'undefined'){ - sendLogToUI('parse_cm_data','error', 'Error occured.'); + sendLogToUI('parse_data','error', 'Error occured.'); return; } - sendLogToUI('parse_cm_data','error',error.toString()); + sendLogToUI('parse_data','error',error.toString()); return; } @@ -506,12 +492,12 @@

Background process

//uncompressing what does not need to be uncompressed //else if(vendor !== 'HUAWEI' && format !== 'GEXPORT_XML'){ else{ - sendLogToUI('parse_cm_data','info',`Uncompressing files...` ); + sendLogToUI('parse_data','info',`Uncompressing files...` ); log.info(`[parse_cm_job] Uncompressing files...`) uncompressFolder(inputFolder); } - sendLogToUI('parse_cm_data','info', `Parsing files...`); + sendLogToUI('parse_data','info', `Parsing files...`); log.info("[parse_cm_job] Parsing files...") let commandArgs = ['-jar', parserPath, '-i',inputFolder,'-o',outputFolder]; @@ -527,17 +513,17 @@

Background process

}); child.stderr.on('data', (data) => { - sendLogToUI('parse_cm_data','error', data.toString()); + sendLogToUI('parse_data','error', data.toString()); log.info(`[parse_cm_job] ${data.toString()}`) }); child.on('exit', code => { if(code === 0 ){ - sendLogToUI('parse_cm_data','success', `Dump successfully parsed. Find csv files in ${outputFolder}`); + sendLogToUI('parse_data','success', `Dump successfully parsed. Find csv files in ${outputFolder}`); log.info(`[parse_cm_job] Dump successfully parsed. Find csv files in ${outputFolder}`); }else{ log.error(`Something went wrong`); - sendLogToUI('parse_cm_data','error', `Something went wrong`); + sendLogToUI('parse_data','error', `Something went wrong`); } }); @@ -556,7 +542,7 @@

Background process

items = fs.readdirSync(csvFolder, { withFileTypes: true }).filter(dirent => !dirent.isDirectory()).map(dirent => dirent.name); log.info(`Loading ${vendor} ${format} files from ${csvFolder}`); - sendLogToUI('parse_cm_data', 'info', `Loading ${vendor} ${format} files from ${csvFolder}` ); + sendLogToUI('parse_data', 'info', `Loading ${vendor} ${format} files from ${csvFolder}` ); for (let i=0; iBackground process }); child.stderr.on('data', (data) => { - console.log(`grep stderr: ${data}`); log.error(data) }); child.stdin.on('data', (data) => { - console.log(`child.stdin.on.data: ${data}`); + //console.log(`child.stdin.on.data: ${data}`); }); @@ -609,7 +594,7 @@

Background process

()=>{//onComplete child.stdin.end(); resolve(undefined); - console.log(`csv.fromStream.subscribe.end`); + //console.log(`csv.fromStream.subscribe.end`); //end cild spawn }); @@ -627,9 +612,8 @@

Background process

async function generateCSVReport(reportId, outputFolder){ let reportInfo = await utils.getSQLiteReportInfo(reportId); - console.log("reportInfo", reportInfo); let csvFileName = reportInfo.name.replace(/\s+/g,"_") + ".csv"; - console.log(csvFileName, outputFolder, reportInfo.query); + //console.log(csvFileName, outputFolder, reportInfo.query); const reportFile = await utils.generateCSVFromQuery(csvFileName, outputFolder, reportInfo.query); sendLogToUI('download_report','success', reportFile); } @@ -695,31 +679,53 @@

Background process

log.info("executeTask(task, options) task:",task," options:", options); try { - if(task === 'parse_cm_data'){ - processCMDumps(options.vendor, options.format, options.inputFolder, options.outputFolder) + if(task === 'parse_data'){ + + //@TODO: Move CM parsing to backgroup-utils.js + if(options.dataType === 'CM' && options.vendor !== 'BODASTAGE'){ + processCMDumps(options.vendor, options.format, options.inputFolder, options.outputFolder) + }else{ + + const rtn = await utils.parseData( + options.dataType, + options.vendor, + options.format, + options.inputFolder, + options.outputFolder, + //beforeFileParse + (fileName) => { log.info(`Parsing ${fileName} ...`); }, + //afterFileParse + (fileName) => { log.info(`Parsing ${fileName} done.`); }, + //beforeParse + (fileName) => { log.info(`Parsing ${fileName} done.`); }, + //afterParse + (fileName) => { log.info(`Parsing ${fileName} done.`); } + ); + sendLogToUI(task, rtn.status, rtn.message); + } } - if(task === 'load_cm_data'){ - const status = await utils.loadCMDataViaStream( + //@TODO: Change cssvFolder to inputFolder because we may load different data formats besides csv + if(task === 'load_data'){ + const result = await utils.loadData( + options.dataType || "CM", options.vendor, options.format, options.csvFolder, options.truncateTables, (tableName, fileName, csvFolder, ) => { //beforeFileLoad - //sendLogToUI('load_cm_data','info', `Loading ${fileName} into ${tableName}...`); log.info(`Loading ${fileName} into ${tableName}...`); }, - (tableName, fileName, csvFolder) => { //afterFileLoad - //sendLogToUI('load_cm_data','info', `Loaded ${fileName} into ${tableName}.`); - //log.info(`Loaded ${fileName} into ${tableName}.`); - }, + (tableName, fileName, csvFolder) => {}, function beforeLoad(){ - sendLogToUI('load_cm_data','info', 'Loading csv files into database...'); + sendLogToUI('load_data','info', 'Loading csv files into database...'); }, function afterLoad(){ - sendLogToUI('load_cm_data','success', 'Loading completed successfully.') + //sendLogToUI('load_data','success', 'Loading completed successfully.'); }); + sendLogToUI(task, result.status, result.message); + } }catch(err){ @@ -741,7 +747,9 @@

Background process

//Setup database -- try{ if(task === 'setup_database'){ - setupBodaDatabase(options.hostname, options.port, options.username, options.password); + //setupBodaDatabase(options.hostname, options.port, options.username, options.password); + const result = await utils.runMigrations(options.hostname, options.port, options.username, options.password); + sendLogToUI('setup_database',result.status, result.message); } }catch(err){ sendLogToUI('setup_database','error', err); diff --git a/background/background-utils.js b/background/background-utils.js index 34da6621..50d23a8e 100644 --- a/background/background-utils.js +++ b/background/background-utils.js @@ -11,6 +11,9 @@ const moTransform = window.require('./mo-name-transform'); var Excel = window.require('exceljs'); const fixPath = window.require('fix-path'); const fs = window.require('fs'); +const bcf = window.require('./boda-cell-file'); +const { VENDOR_CM_FORMATS, VENDOR_PM_FORMATS, VENDOR_FM_FORMATS, + VENDOR_CM_PARSERS, VENDOR_PM_PARSERS, VENDOR_FM_PARSERS } = window.require('./vendor-formats'); //Fix PATH env variable on Mac OSX if(process.platform === 'darwin'){ @@ -411,6 +414,16 @@ async function loadCMDataViaStream(vendor, format, csvFolder,truncateTables, bef log.info(`${fileName.replace(".csv","")} transformed to ${moName}}`); } + //Transform Ericsson BSM inventory dump files + if(vendor.toLowerCase("ericsson") && format === 'BSM'){ + moName = 'invBSM'; + } + + //Load Motorola Cell X Export + if(vendor.toLowerCase("motorola") && format === 'CELL_X_EXPORT'){ + moName = 'cell_x_export'; + } + let table = `${vendor.toLowerCase()}_cm."${moName}"`; //Use to wait for each file to load @@ -470,7 +483,7 @@ async function loadCMDataViaStream(vendor, format, csvFolder,truncateTables, bef writeStatus = true; }); - copyFromStream.on('finish', (err) => { + copyFromStream.on('end', (err) => { //reduce process file count --csvFileCount; @@ -563,9 +576,10 @@ async function loadCMDataViaStream(vendor, format, csvFolder,truncateTables, bef await pool.end(); + return {status: "success", message: "Loading completed."} + } - /** * Returns the path to the psql command on MacOs * @@ -588,6 +602,772 @@ function getPathToPsqlOnMacOSX(){ } +/* +* Run database migrations +* +* @param string hostname +* @param string port +* @param string username +* @param string password +* +* @since 0.3.0 +*/ +async function runMigrations(hostname, port, username, password){ + + const connectionString = `postgresql://${username}:${password}@${hostname}:${port}/postgres`; + const client = new Client({ + connectionString: connectionString, + }); + + client.connect((err) => { + if(err){ + return err; + } + }); + + //@TODO: Check if user wants to recreate database or just update + try{ + let results = await + new Promise( async (resolve, reject) => { + let res = await client.query("SELECT pg_terminate_backend(pid) FROM pg_stat_activity WHERE pid <> pg_backend_pid() AND datname = 'boda'"); + res = await client.query("DROP DATABASE IF EXISTS boda"); + res = await client.query("DROP ROLE IF EXISTS bodastage"); + res = await client.query("CREATE USER bodastage WITH PASSWORD 'password'"); + res = await client.query("CREATE DATABASE boda owner bodastage"); + + client.end(); + if(typeof res.err !== 'undefined') reject("Error occured"); else resolve("Database and role created successfully."); + + }); + }catch(e){ + return {status: 'error', message: 'Error occurred while running migrations. See log for details'} + } + + //Get app base path + let basePath = app.getAppPath(); + if (!isDev) basePath = process.resourcesPath; + + //Create boda database + const dbCon = await getSQLiteDBConnectionDetails('boda'); + const bodaConnStr = `postgresql://${dbCon.username}:${dbCon.password}@${dbCon.hostname}:${dbCon.port}/boda`; + const migrationDir = path.join(basePath,'db','migrations'); + const options = { + databaseUrl: bodaConnStr , + dir: migrationDir, + direction: 'up', + count: Infinity, + migrationsTable: 'pgmigrations', + log: log.log + }; + + log.info(`Migration directory: ${migrationDir}`) + + + const migrationRunner = window.require('node-pg-migrate'); + + try { + await migrationRunner(options); + } catch(e) { + log.error(e.toString()); + return {status: 'error', message: 'Error occurred while running migrations. See log for details'} + } + + return {status: 'success', message: 'Database setup/upgrade completed successfully'} + + +} + +/* +* Parse measurement collection XML files +* +* @param string inputFolder +* @param string outputFolder +*/ +function parseMeasuremenetCollectionXML(vendor, format, inputFolder, outputFolder, beforeFileParse, afterFileParse, beforeParse, afterParse){ + let basepath = app.getAppPath(); + + if (!isDev) { + basepath = process.resourcesPath + } + + const parser = VENDOR_PM_PARSERS[vendor][format] + const parserPath = path.join(basepath,'libraries',parser) + + let commandArgs = ['-jar', parserPath, '-i',inputFolder,'-o',outputFolder]; + + const child = spawnSync('java', commandArgs); + log.info(`java ${commandArgs.join(" ")}`); + + if(child.status != 0){ + log.error(`[parseMeasuremenetCollectionXML] error:${child.output.toString()}`); + return {status: 'error', message: `Error parsing ${vendor} PM ${format}`} + }else{ + //log.info(child.output.toString()) + + } + + return {status: 'success', message: `${vendor} PM files successfully parsed.`} + +} + +/* +* Parse Huawei NE Based measurement collection XML files +* +*/ +function parseHuaweiNeBasedMeasCollecXML(vendor, format, inputFolder, outputFolder, beforeFileParse, afterFileParse, beforeParse, afterParse){ + let basepath = app.getAppPath(); + + if (!isDev) { + basepath = process.resourcesPath + } + + const parser = VENDOR_PM_PARSERS[vendor][format] + const parserPath = path.join(basepath,'libraries',parser) + + let commandArgs = ['-jar', parserPath, '-i',inputFolder,'-o',outputFolder]; + + const child = spawnSync('java', commandArgs); + log.info(`java ${commandArgs.join(" ")}`); + + if(child.status != 0){ + log.error(`[parseHuaweiNeBasedMeasCollecXML] error:${child.output.toString()}`); + return {status: 'error', message: `Error parsing ${vendor} PM ${format}`} + }else{ + //log.info(child.output.toString()) + + } + + return {status: 'success', message: `${vendor} PM files successfully parsed.`} + +} + +function parseNokiaPMXML(vendor, format, inputFolder, outputFolder, beforeFileParse, afterFileParse, beforeParse, afterParse){ + let basepath = app.getAppPath(); + + if (!isDev) { + basepath = process.resourcesPath + } + + const parser = VENDOR_PM_PARSERS[vendor][format] + const parserPath = path.join(basepath,'libraries',parser) + + let commandArgs = ['-jar', parserPath, '-i',inputFolder,'-o',outputFolder]; + + const child = spawnSync('java', commandArgs); + log.info(`java ${commandArgs.join(" ")}`); + + if(child.status != 0){ + log.error(`[parseNokiaPMXML] error:${child.output.toString()}`); + return {status: 'error', message: `Error parsing ${vendor} PM ${format}`} + }else{ + //log.info(child.output.toString()) + + } + + return {status: 'success', message: `${vendor} PM files successfully parsed.`} +} + +function parsePMFiles(vendor, format, inputFolder, outputFolder, beforeFileParse, afterFileParse, beforeParse, afterParse){ + + if( vendor === 'ERICSSON' && format === 'MEAS_COLLEC_XML'){ + return parseMeasuremenetCollectionXML(vendor, format, inputFolder, outputFolder, beforeFileParse, afterFileParse, beforeParse, afterParse) + } + + if( vendor === 'HUAWEI' && format === 'NE_BASED_MEAS_COLLEC_XML'){ + return parseHuaweiNeBasedMeasCollecXML(vendor, format, inputFolder, outputFolder, beforeFileParse, afterFileParse, beforeParse, afterParse) + } + + if( vendor === 'NOKIA' && format === 'PM_XML'){ + return parseNokiaPMXML(vendor, format, inputFolder, outputFolder, beforeFileParse, afterFileParse, beforeParse, afterParse) + } + + return {status: 'error', message: 'PM processing not yet implemented.'} +} + +/* +* Parse network dumps and traces +* +* @param string dataType Type of data being loaded +* @param string vendor Vendor +* @param string format format +* @param string inputFolder +* @param boolean outputFolder +* @param function beforeFileParse +* @param function afterFileParse +* @param function beforeParse +* @param function afterParse +* +* @since 0.3.0 +*/ +async function parseData(dataType, vendor, format, inputFolder, outputFolder, beforeFileParse, afterFileParse, beforeParse, afterParse){ + + if(dataType === 'PM'){ + return parsePMFiles(vendor, format, inputFolder, outputFolder, beforeFileParse, afterFileParse, beforeParse, afterParse); + } + + if(dataType === 'FM'){ + return {status: 'success', message: 'FM processing not yet implemented.'} + } + + if(dataType === 'CM'){ + if( vendor === 'BODASTAGE') return {status: 'success', message: 'No parsing necessary for the Boda cell file.'} + return {status: 'success', message: 'CM processing not yet implemented.'} + } + + + return {status: 'error', message: 'Unknown data type'} +} + +/* +* Load Boda Cell File +* +* @param string input folder +* @param boolean truncateTables +* +* @since 0.3.0 +*/ +async function loadBodaCellFile(inputFolder, truncateTables, beforeFileLoad, afterFileLoad, beforeLoad, afterLoad){ + //1.Load cells + // -get columns from first row + // -validate that the key parameter columns exist + // - + //2.add nbrs + + + const dbConDetails = await getSQLiteDBConnectionDetails('boda'); + + const hostname = dbConDetails.hostname; + const port = dbConDetails.port; + const username = dbConDetails.username; + const password = dbConDetails.password; + + const connectionString = `postgresql://${username}:${password}@${hostname}:${port}/boda`; + + const pool = new Pool({ + connectionString: connectionString, + }) + + pool.on('error', (err, client) => { + log.error(err.toString()); + client.release(); + }) + + + if(typeof beforeLoad === 'function'){ + beforeLoad(); + } + + if(truncateTables === true) { + log.info("Truncate tables before loading is set to true.") + + client = await pool.connect(); + if(client.processID === null){ + log.error('Failed to connect to database'); + return {status: "error", message: 'Failed to connect to database during boda cell file loading'}; + } + + await client.query(`TRUNCATE plan_network."2g_cells" RESTART IDENTITY CASCADE`); + await client.query(`TRUNCATE plan_network."3g_cells" RESTART IDENTITY CASCADE`); + await client.query(`TRUNCATE plan_network."4g_cells" RESTART IDENTITY CASCADE`); + + client.release(); + } + + + fileList = fs.readdirSync(inputFolder, { withFileTypes: true }).filter(dirent => !dirent.isDirectory()).map(dirent => dirent.name); + + for (let i=0; i< fileList.length; i++) { + let fileName = fileList[i]; + let filePath = path.join(inputFolder, fileList[i]); + + client = await pool.connect(); + if(client.processID === null){ + log.error('Failed to connect to database'); + return {status: "error", message: 'Failed to connect to database during boda cell file loading'}; + } + + + let parameterList = []; + //This is used to capture load error in onError Event + let loadError = null; + + await new Promise((resolve, reject) => { + csv({output: "csv", noheader:true, trim:true}) + .fromFile(filePath) + .subscribe(async (csvRow, index)=>{ + + //Header column + if(index === 0){ + parameterList = csvRow; + return; + } + + //Insert cell parameters + const sql = bcf.generateParameterInsertQuery(parameterList, csvRow); + log.log(sql); + await client.query(sql); + + //Insert relations + const nbrSQL = bcf.generateNbrInsertQuery(parameterList, csvRow); + log.log(nbrSQL); + if (nbrSQL !== null) await client.query(nbrSQL); + + },(err) => {//onError + log.error(`csvJoJson.onError: ${err.toString()}`); + client.release(); + loadError = `Error while loading ${fileName}`; + resolve(); + }, + ()=>{//onComplete + log.info(`End of csvToJson for ${fileName}.`) + client.release(); + resolve(); + }); + });//eof: promise + + //Return error status if loadError is not null + if(loadError !== null) return {status: 'error', message: loadError}; + + } + + if(typeof afterLoad === 'function'){ + afterLoad(); + } + + return {status: 'success', message: 'Boda Cell File successfully loaded.'} +} + + +async function loadEricssonMeasCollectXML(inputFolder, truncateTables, beforeFileLoad, afterFileLoad, beforeLoad, afterLoad){ + + const dbConDetails = await getSQLiteDBConnectionDetails('boda'); + + const hostname = dbConDetails.hostname; + const port = dbConDetails.port; + const username = dbConDetails.username; + const password = dbConDetails.password; + + const connectionString = `postgresql://${username}:${password}@${hostname}:${port}/boda`; + + const pool = new Pool({ + connectionString: connectionString, + }) + + pool.on('error', (err, client) => { + log.error(err.toString()); + client.release(); + }) + + + if(typeof beforeLoad === 'function'){ + beforeLoad(); + } + + if(truncateTables === true) { + log.info("Truncate tables before loading is set to true.") + + client = await pool.connect(); + if(client.processID === null){ + log.error('Failed to connect to database'); + return {status: "error", message: 'Failed to connect to database during boda cell file loading'}; + } + + await client.query(`TRUNCATE pm."ericsson" RESTART IDENTITY CASCADE`); + + client.release(); + } + + + fileList = fs.readdirSync(inputFolder, { withFileTypes: true }).filter(dirent => !dirent.isDirectory()).map(dirent => dirent.name); + + + //This will be used to wait for the loading to complete before existing the function + let csvFileCount = fileList.length; + let filesNotLoaded = 0; //Keep count of files not loaded + + //100 mb + const highWaterMark = 100 * 1024 * 1024; + + //Time to wait for load to complete + const waitTime = 1; //1 second + + //Maximum times to check + const maxLoadWait = 10; // x waitTime + + for (let i=0; i< fileList.length; i++) { + let fileName = fileList[i]; + let filePath = path.join(inputFolder, fileList[i]); + + //Use to wait for each file to load + let fileIsLoading = true; + let client = null; + let copyFromStream = null; + let tableFields = ["file_name", + "file_format_version", + "vendor_name", + "file_header_dnprefix", + "file_sender_localdn", + "element_type", + "collection_begin_time", + "collection_end_time", + "managed_element_localdn", + "ne_software_version", + "meas_infoid", + "meas_timestamp", + "jobid", + "gran_period_duration", + "gran_period_endtime", + "reporting_period", + "managed_element_userlabel", + "meas_objldn", + "meas_type", + "meas_result", + "suspect"]; + + let table = 'pm."eri_meas_collec_xml"' + + try{ + //Get client from pool + client = await pool.connect(); + if(client.processID === null){ + log.error('Failed to connect to database'); + return false; + } + + //copyFromStream = await client.query(copyFrom(`COPY ${table} (${tableFields.join(',')}) FROM STDIN WITH (FORMAT csv)`,{writableHighWaterMark : highWaterMark})); + //log.info(`COPY ${table} (${tableFields.join(',')}) FROM STDIN WITH (FORMAT csv)`) + copyFromStream = await client.query(copyFrom(`COPY ${table} (${tableFields.join(',')}) FROM STDIN WITH (FORMAT csv, HEADER)`,{writableHighWaterMark : highWaterMark})); + log.info(`COPY ${table} (${tableFields.join(',')}) FROM STDIN WITH (FORMAT csv, HEADER)`) + }catch(e){ + if( copyFromStream !== null) copyFromStream.end(); + if( client !== null) client.release(); + + log.error(`Pool_Connect_Query: ${e.toString()}`); + log.info(`Skipping loading of ${fileName}`); + + //reduce the file count the needs to be processed + --csvFileCount; + fileIsLoading = false; + + //Increament the count of files that have not been processed + ++filesNotLoaded; + + //Process next file + //@TODO: + continue; + } + + copyFromStream.on('error', async (err) => { + log.error(`copyFromStream.errorEvent: ${err.toString()}. [${fileName}]`); + + //Reduce load file count + //--csvFileCount; + fileIsLoading = false; + + //By setting writeStatus to null, we are letting next write konw that there was an + //error in the previous attempt so we should exit csvToJson + writeStatus = null; + }); + + + //Write stream status used to handle backpressure on the write stream + let writeStatus = true; + copyFromStream.on('drain', (err) => { + log.info(`Write stream drained for ${fileName}`); + writeStatus = true; + }); + + copyFromStream.on('end', (err) => { + //reduce process file count + --csvFileCount; + + log.info(`Loading of ${fileName} is done. ${csvFileCount} csv files remaining to be processed.`); + writeStatus = true; + + fileIsLoading = false; + + }); + + if(typeof beforeFileLoad === 'function'){ + beforeFileLoad(table, fileName, inputFolder); + } + + var fileStream = fs.createReadStream(filePath); + + fileStream.on('error', (err) => { + log.error(err) + }); + + fileStream.pipe(copyFromStream); + + /// + /// + /// + /// + + + + //Wait for loading to complete. The csvToJson can complete before + await new Promise(async (rs, rj) => { + while(fileIsLoading === true ){ + log.info(`Waiting for ${waitTime} seconds for loading of ${fileName} to complete...`); + await new Promise((rs, rj) => { setTimeout(rs, waitTime * 1000); }); + } + + //Release client i.e. return to pool + await client.release(); + rs(undefined); + + }); + + if(typeof afterFileLoad === 'function'){ + afterFileLoad(table, fileName, inputFolder); + } + } + + log.info(`${filesNotLoaded} files not loaded.`) + + if(typeof afterLoad === 'function'){ + afterLoad(); + } + + + await pool.end(); + + return {status: "success", message: "Loading completed."} + +} + + +async function loadCSVFiles(table, tableFields, inputFolder, truncateTables, beforeFileLoad, afterFileLoad, beforeLoad, afterLoad){ + + const dbConDetails = await getSQLiteDBConnectionDetails('boda'); + + const hostname = dbConDetails.hostname; + const port = dbConDetails.port; + const username = dbConDetails.username; + const password = dbConDetails.password; + + const connectionString = `postgresql://${username}:${password}@${hostname}:${port}/boda`; + + const pool = new Pool({ + connectionString: connectionString, + }) + + pool.on('error', (err, client) => { + log.error(err.toString()); + client.release(); + }) + + + if(typeof beforeLoad === 'function'){ + beforeLoad(); + } + + if(truncateTables === true) { + log.info("Truncate tables before loading is set to true.") + + client = await pool.connect(); + if(client.processID === null){ + log.error('Failed to connect to database'); + return {status: "error", message: 'Failed to connect to database during boda cell file loading'}; + } + + await client.query(`TRUNCATE pm."ericsson" RESTART IDENTITY CASCADE`); + + client.release(); + } + + + fileList = fs.readdirSync(inputFolder, { withFileTypes: true }).filter(dirent => !dirent.isDirectory()).map(dirent => dirent.name); + + + //This will be used to wait for the loading to complete before existing the function + let csvFileCount = fileList.length; + let filesNotLoaded = 0; //Keep count of files not loaded + + //100 mb + const highWaterMark = 100 * 1024 * 1024; + + //Time to wait for load to complete + const waitTime = 1; //1 second + + //Maximum times to check + const maxLoadWait = 10; // x waitTime + + for (let i=0; i< fileList.length; i++) { + let fileName = fileList[i]; + let filePath = path.join(inputFolder, fileList[i]); + + //Use to wait for each file to load + let fileIsLoading = true; + let client = null; + let copyFromStream = null; + + + try{ + //Get client from pool + client = await pool.connect(); + if(client.processID === null){ + log.error('Failed to connect to database'); + return false; + } + + //copyFromStream = await client.query(copyFrom(`COPY ${table} (${tableFields.join(',')}) FROM STDIN WITH (FORMAT csv)`,{writableHighWaterMark : highWaterMark})); + //log.info(`COPY ${table} (${tableFields.join(',')}) FROM STDIN WITH (FORMAT csv)`) + copyFromStream = await client.query(copyFrom(`COPY ${table} (${tableFields.join(',')}) FROM STDIN WITH (FORMAT csv, HEADER)`,{writableHighWaterMark : highWaterMark})); + log.info(`COPY ${table} (${tableFields.join(',')}) FROM STDIN WITH (FORMAT csv, HEADER)`) + }catch(e){ + if( copyFromStream !== null) copyFromStream.end(); + if( client !== null) client.release(); + + log.error(`Pool_Connect_Query: ${e.toString()}`); + log.info(`Skipping loading of ${fileName}`); + + //reduce the file count the needs to be processed + --csvFileCount; + fileIsLoading = false; + + //Increament the count of files that have not been processed + ++filesNotLoaded; + + //Process next file + //@TODO: + continue; + } + + copyFromStream.on('error', async (err) => { + log.error(`copyFromStream.errorEvent: ${err.toString()}. [${fileName}]`); + + //Reduce load file count + //--csvFileCount; + fileIsLoading = false; + + //By setting writeStatus to null, we are letting next write konw that there was an + //error in the previous attempt so we should exit csvToJson + writeStatus = null; + }); + + + //Write stream status used to handle backpressure on the write stream + let writeStatus = true; + copyFromStream.on('drain', (err) => { + log.info(`Write stream drained for ${fileName}`); + writeStatus = true; + }); + + copyFromStream.on('end', (err) => { + //reduce process file count + --csvFileCount; + + log.info(`Loading of ${fileName} is done. ${csvFileCount} csv files remaining to be processed.`); + writeStatus = true; + + fileIsLoading = false; + + }); + + if(typeof beforeFileLoad === 'function'){ + beforeFileLoad(table, fileName, inputFolder); + } + + var fileStream = fs.createReadStream(filePath); + + fileStream.on('error', (err) => { + log.error(err) + }); + + fileStream.pipe(copyFromStream); + + //Wait for loading to complete. The csvToJson can complete before + await new Promise(async (rs, rj) => { + while(fileIsLoading === true ){ + log.info(`Waiting for ${waitTime} seconds for loading of ${fileName} to complete...`); + await new Promise((rs, rj) => { setTimeout(rs, waitTime * 1000); }); + } + + //Release client i.e. return to pool + await client.release(); + rs(undefined); + + }); + + if(typeof afterFileLoad === 'function'){ + afterFileLoad(table, fileName, inputFolder); + } + } + + log.info(`${filesNotLoaded} files not loaded.`) + + if(typeof afterLoad === 'function'){ + afterLoad(); + } + + + await pool.end(); + + return {status: "success", message: "Loading completed."} + +} + +async function loadPMData(vendor, format, inputFolder, truncateTables, beforeFileLoad, afterFileLoad, beforeLoad, afterLoad){ + + if(vendor === 'ERICSSON' && format === 'MEAS_COLLEC_XML'){ + return await loadEricssonMeasCollectXML(inputFolder, truncateTables, beforeFileLoad, afterFileLoad, beforeLoad, afterLoad); + } + + if(vendor === 'HUAWEI' && format === 'NE_BASED_MEAS_COLLEC_XML'){ + let table = 'pm.hua_ne_based_meas_collec_xml'; + let tableFields = ['file_name','collection_begin_time','collection_end_time','file_format_version','vendor_name','element_type','managed_element','meas_infoid','gran_period_duration','gran_period_endtime','rep_period_duration','meas_objldn','counter_id','counter_value', 'suspect'] + return loadCSVFiles(table, tableFields, inputFolder, truncateTables, beforeFileLoad, afterFileLoad, beforeLoad, afterLoad) + } + + if(vendor === 'NOKIA' && format === 'PM_XML'){ + let table = 'pm.nok_pm_xml'; + let tableFields = ['filename','start_time','interval','base_id','local_moid','ne_type','measurement_type','counter_id','counter_value'] + return loadCSVFiles(table, tableFields, inputFolder, truncateTables, beforeFileLoad, afterFileLoad, beforeLoad, afterLoad) + } + + return {status: 'success', message: 'PM functionality is not ready!'} +} + +/* +* Load network dumps/traces +* +* @param string dataType Type of data being loaded +* @param string vendor Vendor +* @param string format format +* @param string inputFolder +* @param boolean truncateTables Truncate tables before load. Values are true or false +* @param function beforeFileLoad +* @param function afterFileLoad +* @param function beforeLoad +* @param function afterLoad +* +* @since 0.3.0 +*/ +async function loadData(dataType, vendor, format, inputFolder, truncateTables, beforeFileLoad, afterFileLoad, beforeLoad, afterLoad){ + if(dataType === 'CM' && vendor !== 'BODASTAGE'){ + return await loadCMDataViaStream(vendor, format, inputFolder, truncateTables, beforeFileLoad, afterFileLoad, beforeLoad, afterLoad); + } + + //Loda boda cell file + if(dataType === 'CM' && vendor === 'BODASTAGE'){ + return await loadBodaCellFile(inputFolder, truncateTables, beforeFileLoad, afterFileLoad, beforeLoad, afterLoad); + } + + if(dataType === 'PM' ){ + return await loadPMData(vendor, format, inputFolder, truncateTables, beforeFileLoad, afterFileLoad, beforeLoad, afterLoad); + } + + if(dataType === 'FM' ){ + return {status: 'success', message: 'FM functionality is not ready!'} + } + + return {status: 'error', message: 'Unknown data type'} +} + + exports.SQLITE3_DB_PATH = SQLITE3_DB_PATH; exports.getSQLiteDBConnectionDetails = getSQLiteDBConnectionDetails; exports.getSQLiteReportInfo = getSQLiteReportInfo; @@ -595,4 +1375,7 @@ exports.runQuery = runQuery; exports.generateCSVFromQuery = generateCSVFromQuery; exports.loadCMDataViaStream = loadCMDataViaStream; exports.generateExcelOrCSV = generateExcelOrCSV; -exports.getPathToPsqlOnMacOSX = getPathToPsqlOnMacOSX; \ No newline at end of file +exports.getPathToPsqlOnMacOSX = getPathToPsqlOnMacOSX; +exports.runMigrations = runMigrations; +exports.loadData = loadData; +exports.parseData = parseData; \ No newline at end of file diff --git a/background/boda-cell-file.js b/background/boda-cell-file.js new file mode 100644 index 00000000..195c413b --- /dev/null +++ b/background/boda-cell-file.js @@ -0,0 +1,264 @@ +const BCF_2G_PARAMS = { + technology: {required: true}, + ci: {required: true}, + cellname: {}, + siteid: {}, + carrier_layer: {}, + azimuth: {required: true}, + electrical_tilt: {}, + mechanical_tilt: {}, + lac: {}, + node: {required: true}, + bcch: {}, + trx_frequencies: {}, + antenna_beam: {}, + latitude: {required: true}, + longitude: {required: true}, + height: {}, + vendor: {}, + cell_type: {}, + bsic: {}, + bcc: {}, + ncc: {}, + mnc: {}, + mcc: {}, + cgi: {} +}; + + +const BCF_3G_PARAMS = { + technology: {required: true}, + ci: {required: true}, + cellname: {}, + siteid: {}, + carrier_layer: {}, + azimuth: {required: true}, + electrical_tilt: {}, + mechanical_tilt: {}, + lac: {}, + rac: {}, + sac: {}, + node: {required: true}, + psc: {}, + uarfcn: {}, + antenna_beam: {}, + latitude: {required: true}, + longitude: {required: true}, + height: {}, + vendor: {}, + cell_type: {}, + mnc: {}, + mcc: {}, + cgi: {}, + rncid: {} +}; + +const BCF_4G_PARAMS = { + technology: {required: true}, + ci: {required: true}, + cellname: {}, + siteid: {}, + enodeb_id: {}, + carrier_layer: {}, + azimuth: {required: true}, + electrical_tilt: {}, + mechanical_tilt: {}, + tac: {}, + node: {required: true}, + pci: {}, + euarfcn: {}, + bandwidth: {}, + ecgi: {}, + mnc: {}, + mcc: {}, + antenna_beam: {}, + latitude: {required: true}, + longitude: {required: true}, + height: {}, + vendor: {}, + cell_type: {} +}; + +const BCF_5G_PARAMS = { +}; + +const TECHNOLOGIES = ["GSM", "UMTS", "WCDMA", "LTE", "CDMA2000"]; + +/* +* Return the database cell table given the technology name in lower case +* +* @param string technology +* +* @return string +*/ +function getDataCellTable(technology){ + switch(technology){ + case '2g': + case 'gsm': + return "2g_cells"; + case '3g': + case 'umts': + case 'wcdma': + case 'cdma2000': + return "3g_cell" + case '4g': + case 'lte': + return "4g_cell"; + case '5g': + case 'nr': + return "5g_cell"; + default: + throw Error("Un-recognised technology. Expected gsm, umts, wcdma, lte, nr, 2g, 3g, 4g, or 5g") + + } +} + +/** +* Get the expected parameter list for a vendor +* +* @param string technology +* +* @return array +*/ +function getTechParameterList(technology){ + switch(technology){ + case '2g': + case 'gsm': + return BCF_2G_PARAMS; + case '3g': + case 'umts': + case 'wcdma': + return BCF_3G_PARAMS; + case '4g': + case 'lte': + return BCF_4G_PARAMS; + case '5g': + case 'nr': + return BCF_5G_PARAMS; + default: + throw Error("Un-recognised technology. Expected gsm, umts, wcdma, lte, nr, 2g, 3g, 4g, or 5g") + + } +} + +/** +* Generate INSERT queries for data +* +* @param array fields +* @param array values +* +* @return string +*/ +function generateParameterInsertQuery(fields, values){ + + //make the fields lower case + fields = fields.map(v => v.toLowerCase()); + + //Validate tech + let tech = null; + if(fields.indexOf("technology") === -1) throw Error("Technology field is missing"); + tech = values[fields.indexOf("technology")]; + if(tech.length === 0) throw Error("Technology value cannot be empty"); + + //Validate ci + let ci = null; + if(fields.indexOf("ci") === -1) throw Error("ci field is missing"); + ci = values[fields.indexOf("ci")]; + if(ci.length === 0) throw Error("ci value cannot be empty"); + + + //Get database table for insertion + let tableName = getDataCellTable(tech.toLowerCase()); + + //Get list of std parameters for technology + const paramNames = Object.keys(getTechParameterList(tech.toLowerCase())); + + let paramValues = paramNames.map(v => ''); + let insFields = []; + let insValues = []; + let updatePhrase = []; + + paramNames.forEach((p, i) => { + //Skip parameter that are not there + if(fields.indexOf(p) === -1 ) return; + paramValues[i] = values[fields.indexOf(p)]; + updatePhrase.push(`${p} = EXCLUDED.${p}`); + }); + + let sql = `INSERT INTO plan_network."${tableName}" + (${paramNames.join(",")}) + VALUES + ('${paramValues.join("','")}') + ON CONFLICT ON CONSTRAINT unq_ci_node_${tableName} DO UPDATE + SET + ${updatePhrase.join(",")} + `; + + return sql; + +} + + +/** +* Returns a list of nbrs cells given the field list and value array +* +* @param array fields Array of fields +* @param array values Array of row values +* +* @returns array +*/ +function getNbrsFromValues(fields, values){ + //Get indices of nbr columns. These are field names that start with + //nbr_ or NBR_ + const nbrIndices = fields + .map((v, i) => v.match(/^nbr_/i) ? i : -1 ) + .filter((v, i) => v > -1); + + let nbrList = []; + nbrIndices.forEach((idxValue) => { + if(values[idxValue].length > 0 ) nbrList.push(values[idxValue]); + }); + + return nbrList; +} + +/* +* Generate nbr insert query +* +* @param array fields Array of fields +* @param array values Array of row values +* +* @returns string SQL query +*/ +function generateNbrInsertQuery(fields, values){ + //make the fields lower case + fields = fields.map(v => v.toLowerCase()); + const nbrList = getNbrsFromValues(fields, values); + + //Return null if there are no nbrs + if(nbrList === null) return null; + + //Validate ci + let ci = null; + if(fields.indexOf("ci") === -1) throw Error("ci field is missing"); + ci = values[fields.indexOf("ci")]; + if(ci.length === 0) throw Error("ci value cannot be empty"); + + + let sql = ""; + nbrList.forEach(nbr_ci => { + sql += ` + INSERT INTO plan_network."relations" + (svr_ci, nbr_ci) VALUES (${ci}, ${nbr_ci}) + ON CONFLICT ON CONSTRAINT unq_relations DO NOTHING;`; + }); + + return sql; + +} + +exports.BCF_2G_PARAMS = BCF_2G_PARAMS; +exports.BCF_3G_PARAMS = BCF_3G_PARAMS; +exports.BCF_4G_PARAMS = BCF_4G_PARAMS; +exports.generateParameterInsertQuery = generateParameterInsertQuery; +exports.generateNbrInsertQuery = generateNbrInsertQuery; \ No newline at end of file diff --git a/background/vendor-formats.js b/background/vendor-formats.js new file mode 100644 index 00000000..9506312d --- /dev/null +++ b/background/vendor-formats.js @@ -0,0 +1,72 @@ +const VENDOR_CM_FORMATS = { + 'ERICSSON': ['BULKCM','CNAIV2','BSM'], + 'HUAWEI': ['GEXPORT_XML','NBI_XML','CFGMML'], + 'ZTE': ['BULKCM','XLS'], + 'NOKIA': ['RAML'], + 'BODASTAGE': ['BCF_CSV'] +} + +const VENDOR_PM_FORMATS = { + 'ERICSSON': ['MEAS_COLLEC_XML'], + 'HUAWEI': ['NE_BASED_MEAS_COLLEC_XML'], + 'ZTE': ['BULKCM','XLS'], + 'NOKIA': ['RAML'], + 'BODASTAGE': [] +} + +const VENDOR_FM_FORMATS = { + 'ERICSSON': ['BULKCM','CNAIV2'], + 'HUAWEI': ['GEXPORT_XML','NBI_XML','CFGMML'], + 'ZTE': ['BULKCM','XLS'], + 'NOKIA': ['RAML'], + 'BODASTAGE': [] +} + + +/*Parser for each vendor CM file format*/ +const VENDOR_CM_PARSERS = { + 'ERICSSON': { + 'BULKCM': 'boda-bulkcmparser.jar', + 'CNAIV2': 'boda-ericssoncnaiparser.jar', + 'BSM': 'boda-ericssonbsmparser.jar' + }, + 'HUAWEI': { + 'GEXPORT_XML': 'boda-huaweicmobjectparser.jar', + 'CFGMML': 'boda-huaweimmlparser.jar', + 'NBI_XML': 'boda-huaweicmxmlparser.jar' + }, + 'ZTE': { + 'BULKCM': 'boda-bulkcmparser.jar', + 'XLS': 'boda-ztexlscmparser.jar', + }, + 'NOKIA': { + 'RAML': 'boda-nokiacmdataparser.jar' + }, + 'MOTOROLA': { + 'CELL_X_EXPORT': 'boda-motorolacellxexportparser.jar' + } +} + +const VENDOR_PM_PARSERS = { + 'ERICSSON': { + 'MEAS_COLLEC_XML': 'boda-measdatacollectionparser.jar' + }, + 'HUAWEI':{ + 'NE_BASED_MEAS_COLLEC_XML': 'boda-huaweipmdataparser.jar' + }, + 'NOKIA':{ + 'PM_XML': 'boda-nokiapmdataparser.jar' + } +} + +const VENDOR_FM_PARSERS = { +} + + + +exports.VENDOR_CM_FORMATS = VENDOR_CM_FORMATS; +exports.VENDOR_PM_FORMATS = VENDOR_PM_FORMATS; +exports.VENDOR_FM_FORMATS = VENDOR_FM_FORMATS; +exports.VENDOR_CM_PARSERS = VENDOR_CM_PARSERS; +exports.VENDOR_PM_PARSERS = VENDOR_PM_PARSERS; +exports.VENDOR_FM_PARSERS = VENDOR_FM_PARSERS; \ No newline at end of file diff --git a/dashboard_and_reports.png b/dashboard_and_reports.png new file mode 100644 index 00000000..9356be0e Binary files /dev/null and b/dashboard_and_reports.png differ diff --git a/db/boda-lite.sqlite3 b/db/boda-lite.sqlite3 index 603925cd..512b3ec9 100644 Binary files a/db/boda-lite.sqlite3 and b/db/boda-lite.sqlite3 differ diff --git a/db/migrations/1564257260302_create-boda-database.js b/db/migrations/1564257260302_create-boda-database.js new file mode 100644 index 00000000..95be303b --- /dev/null +++ b/db/migrations/1564257260302_create-boda-database.js @@ -0,0 +1,46 @@ +//require without window to run migrations on the cli +//DATABASE_URL=postgres://bodastage:password@localhost:5432/boda yarn run migrate up -m db/migrations/ + +const PgLiteral = typeof window !== 'undefined' ? window.require('node-pg-migrate').PgLiteral : require('node-pg-migrate').PgLiteral; + +exports.shorthands = { + idx: { type: 'uuid', primaryKey: true}, + load_datetime: { + type: "timestamp", + notNull: true, + default: new PgLiteral('current_timestamp') + }, + data: {type: "jsonb", notNull: true}, + createdAt: { + type: "timestamp", + notNull: true, + default: new PgLiteral('current_timestamp') + }, + createdBy: { + type: "integer", + notNull: true, + default: 0 + } +}; + +//@TODO: Run these migrations from postgres account separately +exports.up = (pgm) => { +// pgm.noTransaction(); +// pgm.sql("SELECT pg_terminate_backend(pid) FROM pg_stat_activity WHERE pid <> pg_backend_pid() AND datname = 'boda';"); +// pgm.sql("DROP DATABASE IF EXISTS boda"); +// +// pgm.createRole( "bodastage", { +// "password": "password", +// "login": true +// } ); +// +// pgm.sql( "CREATE DATABASE boda owner bodastage"); + +}; + +exports.down = (pgm) => { +// pgm.noTransaction(); +// pgm.sql("DROP DATABASE IF EXISTS boda"); +// pgm.dropRole("bodastage"); + +}; diff --git a/db/migrations/1564262109531_create-hex-to-int-function.js b/db/migrations/1564262109531_create-hex-to-int-function.js new file mode 100644 index 00000000..1e78f169 --- /dev/null +++ b/db/migrations/1564262109531_create-hex-to-int-function.js @@ -0,0 +1,62 @@ +exports.shorthands = undefined; +const hexToIntParams = [ + {mode: 'in', name: "hexval", type: "varchar"} + ]; + +exports.up = (pgm) => { + //Create hex to int function + pgm.createFunction( + //name + "hex_to_int", + + //function_params + hexToIntParams, + + //function_options + { + returns: "integer", + language: "plpgsql" + }, + + //definiton + ` + DECLARE + result int; + BEGIN + EXECUTE 'SELECT x''' || hexval || '''::int' INTO result; + RETURN result; + END; + ` + ); + + //Create hex to char function + pgm.createFunction( + //name + "hex_to_char", + + //function_params + hexToIntParams, + + //function_options + { + returns: "varchar", + language: "plpgsql" + }, + + //definiton + ` + DECLARE + result varchar; + BEGIN + EXECUTE 'SELECT x''' || hexval || '''::int' INTO result; + RETURN result; + END; + ` + ); + +}; + +exports.down = (pgm) => { + pgm.dropFunction("hex_to_int", hexToIntParams); + pgm.dropFunction("hex_to_char", hexToIntParams); +}; diff --git a/db/migrations/1564263700671_create-vendor-cm-schemas.js b/db/migrations/1564263700671_create-vendor-cm-schemas.js new file mode 100644 index 00000000..8776a98a --- /dev/null +++ b/db/migrations/1564263700671_create-vendor-cm-schemas.js @@ -0,0 +1,15 @@ +exports.shorthands = undefined; + +exports.up = (pgm) => { + pgm.createSchema("ericsson_cm", {ifNotExists : true} ); + pgm.createSchema("huawei_cm", {ifNotExists : true} ); + pgm.createSchema("zte_cm", {ifNotExists : true} ); + pgm.createSchema("nokia_cm", {ifNotExists : true} ); +}; + +exports.down = (pgm) => { + pgm.dropSchema("ericsson_cm", {ifExists : true} ); + pgm.dropSchema("huawei_cm", {ifExists : true} ); + pgm.dropSchema("zte_cm", {ifExists : true} ); + pgm.dropSchema("nokia_cm", {ifExists : true} ); +}; diff --git a/db/migrations/1564264136564_create-ericssom-cm-cnaiv2-tables.js b/db/migrations/1564264136564_create-ericssom-cm-cnaiv2-tables.js new file mode 100644 index 00000000..4b9ea78b --- /dev/null +++ b/db/migrations/1564264136564_create-ericssom-cm-cnaiv2-tables.js @@ -0,0 +1,33 @@ +exports.up = (pgm) => { + pgm.createTable({schema: "ericsson_cm", name: "UTRAN_NREL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "UTRAN_EXTERNAL_CELL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "TG"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "SITE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "PRIORITY_PROFILE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "OVERLAID_CELL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "OUTER_CELL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "NREL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "MSC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "INTERNAL_CELL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "INNER_CELL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "EXTERNAL_CELL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "CHANNEL_GROUP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "BSC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); +}; + +exports.down = (pgm) => { + pgm.dropTable({schema: "ericsson_cm", name: 'UTRAN_NREL'}); + pgm.dropTable({schema: "ericsson_cm", name: 'UTRAN_EXTERNAL_CELL'}); + pgm.dropTable({schema: "ericsson_cm", name: 'TG'}); + pgm.dropTable({schema: "ericsson_cm", name: 'SITE'}); + pgm.dropTable({schema: "ericsson_cm", name: 'PRIORITY_PROFILE'}); + pgm.dropTable({schema: "ericsson_cm", name: 'OVERLAID_CELL'}); + pgm.dropTable({schema: "ericsson_cm", name: 'OUTER_CELL'}); + pgm.dropTable({schema: "ericsson_cm", name: 'NREL'}); + pgm.dropTable({schema: "ericsson_cm", name: 'MSC'}); + pgm.dropTable({schema: "ericsson_cm", name: 'INTERNAL_CELL'}); + pgm.dropTable({schema: "ericsson_cm", name: 'INNER_CELL'}); + pgm.dropTable({schema: "ericsson_cm", name: 'EXTERNAL_CELL'}); + pgm.dropTable({schema: "ericsson_cm", name: 'CHANNEL_GROUP'}); + pgm.dropTable({schema: "ericsson_cm", name: 'BSC'}); +}; diff --git a/db/migrations/1564268612643_create-ericssom-cm-bulkcm-tables.js b/db/migrations/1564268612643_create-ericssom-cm-bulkcm-tables.js new file mode 100644 index 00000000..5481bfaf --- /dev/null +++ b/db/migrations/1564268612643_create-ericssom-cm-bulkcm-tables.js @@ -0,0 +1,1407 @@ +exports.up = (pgm) => { + pgm.createTable({schema: "ericsson_cm", name: "Aal0TpVccTp"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Aal2Ap"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Aal2PathDistributionUnit"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Aal2PathVccTp"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Aal2QosCodePointProfile"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Aal2QosProfile"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Aal2RoutingCase"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Aal2Sp"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Aal5TpVccTp"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "AbisIp"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "AccessControlList"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ActiveOtherLMs"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "AddressIpv4"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "AddressIPv4"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "AdmissionControl"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "AdvCellSup"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "AgpsPositioning"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "AiDevice"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "AiDeviceSet"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "AirIfLoadGenerator"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "AirIfLoadProfile"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Aisgv2FwDownload"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "AlarmIRP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "AlarmPort"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "AmoFunction"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Anr"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "AnrFunction"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "AnrFunctionEUtran"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "AnrFunctionGeran"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "AnrFunctionUtran"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "AnrIafUtran"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "AnrPciConflictDrxProfile"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "AntennaBranch"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "AntennaNearUnit"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "AntennaSubunit"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "AntennaUnit"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "AntennaUnitGroup"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "AntFeederCable"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Areas"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ArpMap"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ArpQosClassProfile"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ArpSpiMap"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "AtmConfService"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "AtmCrossConnection"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "AtmPort"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "AtmTrafficDescriptor"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "AuPort"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "AuthenticationOrder"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "AuthorizationOrder"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "AutoCellCapEstFunction"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "AutonomousMode"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "AutoProvisioning"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "AuxPlugInUnit"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "BandCombCompression"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "BatteryBackup"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "BbProcessingResource"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "BestNeighborSI"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "BfdProfile"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "BoundaryOrdinaryClock"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Bridge"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "BrM"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "BrmBackup"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "BrmBackupHousekeeping"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "BrmBackupLabelStore"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "BrmBackupManager"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "BrmBackupScheduler"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "BrmCalendarBasedPeriodicEvent"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "BrmFailsafeBackup"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "BrmPeriodicEvent"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "BrmRollbackAtRestore"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "BrmSingleEvent"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "BtsFunction"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "bulkCmConfigDataFile"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "BulkCmIRP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Cabinet"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "CapacityChannelBandwidth"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "CapacityConnectedUsers"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "CapacityFeatureLicense"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "CapacityKey"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "CapacityLicenses"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "CapacityState"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Carrier"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "CarrierAggregationFunction"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "CaxFanUnit"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Cbu"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "CchFrameSynch"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "CcLink"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Cdma2000SessionContinuity"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "CellPerformance"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "CellResources"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "CellSleepFunction"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "CellSleepNodeFunction"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "CertM"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "CertMCapabilities"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ChainCertificate"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ChannelSwitching"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Climate"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "CliSsh"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "CliTls"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "CnOperator"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "CommonChannelResources"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "CommonChannelResourcesDl"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "CommonChannelResourcesUl"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "CommunicationContexts"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "configData"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ConfigurationVersion"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ConsumedEnergy"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ConsumedEnergyMeasurement"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "CoverageRelation"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "CpriLinkSupervision"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "DataCollectionGeneration"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "DataRadioBearer"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "DateAndTime"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "DchFrameSynch"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "DeviceGroup"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Dhcp"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "DlBasebandCapacity"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "DlComp"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "DlPrbCapacity"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "DnsClient"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "DownlinkBaseBandPool"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "DrxProfile"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "DscpPcpMap"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Dst"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "E1PhysPathTerm"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "E1Ttp"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "EcBus"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "EcPort"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "EDchResources"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "EmergencyUnlock"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "EndcProfilePredefined"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "EnergyMeter"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ENodeBFunction"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "EnrollmentAuthority"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "EnrollmentServer"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "EnrollmentServerGroup"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Equipment"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "EquipmentDiscovery"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "EquipmentSupportFunction"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "EricssonFilter"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "EricssonLeanCarrierFunction"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "EthernetBridgePort"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "EthernetInterface"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "EthernetLink"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "EthernetPort"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "EthernetSwitch"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "EthernetSwitchFabric"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "EthernetSwitchingAdm"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "EthernetSwitchModule"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "EthernetSwitchModulePort"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "EthernetSwitchPort"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Etws"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Eul"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "EUtranCellFDD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "EUtranCellRelation"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "EUtranCellTDD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "EutraNetwork"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "EUtraNetwork"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "EutranFreqRelation"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "EUtranFreqRelation"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "EutranFrequency"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "EUtranFrequency"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "EventCapabilities"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "EventFilterType"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "EventGroup"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "EventJob"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "EventProducer"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "EventType"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ExchangeTerminal"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ExchangeTerminalIp"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ExternalAntenna"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ExternalENodeBFunction"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ExternalEUtranCellTDD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ExternalEutranFrequency"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ExternalEUtranPlmn"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ExternalGeranCell"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ExternalGsmCell"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ExternalGsmFreq"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ExternalGsmFreqGroup"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ExternalGsmPlmn"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ExternalNode"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ExternalPower"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ExternalUtranCell"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ExternalUtranFreq"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ExternalUtranCellFDD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ExternalUtranPlmn"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Fach"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "FanGroup"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "FeatureKey"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "FeatureState"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "FieldReplaceableUnit"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "fileFooter"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "fileHeader"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "FilePullCapabilities"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "FileTPM"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Filter"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "FlexibleQoSFunction"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Fm"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "FmAlarm"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "FmAlarmModel"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "FmAlarmType"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "FmSubscription"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "FreqManagement"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "FrequencySyncIO"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "FtpServer"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "FtpTls"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "FtpTlsServer"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "GeneralProcessorUnit"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "GeranCellRelation"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "GeraNetwork"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "GeranFreqGroup"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "GeranFreqGroupRelation"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "GeranFrequency"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "GigaBitEthernet"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "GnssInfo"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Gpeh"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "GpsOutSyncLink"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "GpsSyncRef"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "GracePeriod"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "GsmRelation"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "GsmSector"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "GtpPath"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Handover"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "HcRule"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "HealthCheckM"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Host"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "HoWhiteList"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Hsdsch"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "HsDschResources"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "HttpM"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Https"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "HwInventory"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "HwItem"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "HwUnit"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "IdleModePrioAtRelease"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ImaGroup"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ImaLink"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ImeisvTable"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "InstantUplinkAccess"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "IntegrationUnlock"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "InterfaceIpv4"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "InterfaceIPv4"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "InternalEthernetPort"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Ip"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "IpAccessHostEt"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "IpAccessHostGpb"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "IpAccessHostPool"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "IpAccessHostSpb"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "IpAccessSctp"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "IpAtmLink"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "IpEthPacketDataRouter"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "IpFlowMonitor"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "IpHostLink"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "IpInterface"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "IPInterface"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "IpLicensing"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "IpOam"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Ippm"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "IpRoute"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "IpRouter"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "IpRouteSys"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "IpRoutingTable"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "IpSec"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "IpSyncRef"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "IpSystem"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Ipv4DestNetwork"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Ipv4Peer"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Ipv4StaticRoute"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Ipv4StaticRouteTable"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "IPv6RoutingTable"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "IRPAgent"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Iub"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "IubDataStreams"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "IubEdch"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "IubLink"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "IuLink"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "IurLink"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Jvm"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "KeyFileInformation"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "KeyFileManagement"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Lag"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Ldap"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "LdapAuthenticationMethod"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "LicenseSupport"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Licensing"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "LinkTransmissionProfile"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Lm"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "LoadBalancingFunction"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "LoadControl"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "LoadModule"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "LocalAuthorizationMethod"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "LocationArea"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Log"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "LogicalChannelGroup"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "LogM"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "LogService"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "M3uAssociation"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "MACConfiguration"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "MaintenanceUser"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "MaintenanceUserSecurity"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ManagedElement"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ManagedElementData"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ManagementNode"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "MbmsServiceArea"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "MdtConfiguration"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "MeasurementDefinition"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "MeContext"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "MediumAccessUnit"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "MibManager"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "MimoSleepFunction"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "MocnCellProfile"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "MpClusterHandling"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "MpProcessingResource"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Mtp3bAp"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Mtp3bSlItu"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Mtp3bSls"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Mtp3bSpItu"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Mtp3bSr"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Mtp3bSrs"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "MultiCarrier"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "MulticastAntennaBranch"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "NbapCommon"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "NbapDedicated"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Ncli"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "NetconfSsh"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "NetconfTls"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "NextHop"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "NniSaalProfile"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "NniSaalTp"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "NodeBFunction"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "NodeBLocalCell"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "NodeBLocalCellGroup"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "NodeBSectorCarrier"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "NodeCredential"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "NodeFunction"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "NodeGroupSyncMember"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "NodeManagementFunction"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "NodePerformance"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "NodeSupport"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "NodeSynch"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "NonPlannedPciDrxProfile"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "NotificationIRP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Ntp"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "NtpFrequencySync"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "NtpServer"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "OamAccessPoint"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "OamIpSupport"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "OamTrafficClass"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "OnSiteActivities"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "OpProfiles"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "OptionalFeatureLicense"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Os155SpiTtp"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "PacketDataRouter"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "PacketFrequencySyncRef"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Paging"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ParameterChangeRequests"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Pch"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "PcpSetToQueue"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "PcpToQueueMap"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "PdrDevice"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "PeerIPv4"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "PiuDevice"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Plmn"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "PlmnIdentityGroup"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "PlugInUnit"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Pm"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "PmEventM"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "PmEventService"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "PmMeasurementCapabilities"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "PmService"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "PmSupport"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "PmUeMeasControl"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "PmUlInterferenceReport"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "PositioningServiceClass"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "PowerControl"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "PowerDistribution"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "PowerSupply"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "PredefRbsScannerGpeh"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "PreschedProfile"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "PreschedulingProfile"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ProcessorLoad"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Program"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Ptp"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "PtpBcOcPort"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "PiuType"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "QciProfilePredefined"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "QciTable"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "QoSClassifier"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "QosPolicy"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "QosProfiles"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Queue"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "QueueSystem"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "RabHandling"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Rach"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "RadioBearerTable"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "RadioEquipmentClock"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "RadioEquipmentClockReference"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "RadioLinks"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Ranap"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "RATFreqPrio"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "RbsConfiguration"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "RbsLocalCell"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "RbsMeasControl"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "RbsSlot"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "RbsSubrack"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "RbsSynchronization"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "RbsUnit"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Rcs"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "RdiCable"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "RdiPort"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "RealTimeSecLog"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ReliableProgramUniter"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Repertoire"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ReportConfigA1A2Br"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ReportConfigA1Prim"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ReportConfigA1Sec"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ReportConfigA4"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ReportConfigA5"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ReportConfigA5Anr"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ReportConfigA5DlComp"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ReportConfigA5SoftLock"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ReportConfigA5UlTrig"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ReportConfigB1Geran"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ReportConfigB1Utra"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ReportConfigB2Cdma2000"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ReportConfigB2Cdma20001xRtt"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ReportConfigB2CdmaRttUlTrig"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ReportConfigB2CdmaUlTrig"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ReportConfigB2Geran"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ReportConfigB2GeranUlTrig"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ReportConfigB2Utra"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ReportConfigB2UtraUlTrig"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ReportConfigCsfbCdma2000"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ReportConfigCsfbGeran"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ReportConfigCsfbUtra"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ReportConfigCsg"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ReportConfigElcA1A2"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ReportConfigEUtraBadCovPrim"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ReportConfigEUtraBadCovSec"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ReportConfigEUtraBestCell"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ReportConfigEUtraBestCellAnr"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ReportConfigEUtraIFA3UlTrig"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ReportConfigEUtraIFBestCell"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ReportConfigEUtraInterFreqLb"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ReportConfigEUtraInterFreqMbms"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ReportConfigEUtraIntraFreqPm"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ReportConfigInterEnbUlComp"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ReportConfigInterRatLb"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ReportConfigSCellA1A2"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ReportConfigSCellA4"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ReportConfigSCellA6"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ReportConfigSearch"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ResMeasControl"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ResourceAllocationFunction"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ResourcePartitions"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "RetDevice"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "RetDeviceSet"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "RetSubUnit"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "RetuDeviceGroup"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "RfBranch"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "RfPort"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "RiLink"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "RiPort"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "RlfProfile"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "RncCapacity"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "RncConfigLimits"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "RncFeature"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "RncFunction"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "RncModule"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "RnlQosClassProfile"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Rnsap"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ROHC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Role"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "RoutingPolicyIpv4"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Router"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "RouteTableIPv4Static"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "RoutingArea"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "RoutingTable"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Rrc"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "RruDeviceGroup"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "RttPositioning"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Rule"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "SasPositioning"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "SccpApLocal"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "SccpApRemote"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "SccpScrc"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "SccpSp"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "SchedulerSp"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Schema"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "SciProfile"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Sctp"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "SctpAssociation"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "SctpEndpoint"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "SctpProfile"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "SecM"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Sector"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "SectorAntenna"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "SectorCarrier"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "SectorEquipmentFunction"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Security"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "SecurityHandling"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ServiceArea"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "SfpModule"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Sftp"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Shaper"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Sid"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "SignalingRadioBearer"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Site"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Slot"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Snmp"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "SnmpTargetV2C"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "SnmpTargetV3"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "SpDevicePool"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "SpiQosClass"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Ssh"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "STN"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "StnFunction"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "StreamingCapabilities"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "SubNetwork"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "SubNetwork_2"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "SubNetwork_3"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Subrack"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "SubrackProdType"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "SubscriberProfileID"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "SubscrProfileIdHandling"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "SupportUnit"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "SwAllocation"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "SwInventory"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "SwitchCoreUnit"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "SwitchInternalLinkPort"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "SwitchPortStp"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "SwitchStp"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "SwItem"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "SwM"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "SwManagement"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "SwVersion"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Synchronization"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "SyncPort"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "SyncServer"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "SysM"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "SystemFunctions"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "TempSensor"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "TermPointToENB"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "TermPointToMme"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "TermPointToSGW"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "TimeM"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "TimeServer"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "TimeSetting"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "TimeSettings"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "TimeSyncIo"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "TimeSyncIO"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "TimingUnit"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Tls"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "TnApplication"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "TnlCchQosClassProfile"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "TnlDchQosClassProfile"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "TnlHspaQosClassProfile"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "TnlIuQosClassProfile"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "TnlQosClass"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "TnPort"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "TpaDevice"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "TpaDeviceSet"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "TrafficAwarePowerSave"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "TrafficClass"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "TrafficClassPsInt"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "TrafficManagement"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "TrafficManager"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "TrafficScheduler"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Transceiver"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Transport"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "TransportNetwork"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "TrustCategory"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "TrustedCertificate"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Trx"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "TuSyncRef"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "TwampInitiator"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "TwampResponder"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "TwampTestSession"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "TxDataCloning"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "TxDeviceGroup"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "UeFunctionality"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "UeMeasControl"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "UePosCellId"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "UePositioning"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "UeRabType"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "UeRc"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "UeRcEdchFlow"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "UeRcPhyChEdch"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "UeRcRab"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "UeRcTrCh"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "UeRrcType"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "UeTac"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "UlBasebandCapacity"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "UlCompGroup"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "UlFss"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "UlPrbCapacity"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "UniSaalProfile"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "UniSaalTp"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "UpgradePackage"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "UpgradeTrace"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Ura"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "UserIdentity"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "UserManagement"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "UsrPrcBasedKpi"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "UtranCell"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "UtranCellRelation"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "UtranFrequency"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "UtraNetwork"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "UtranFreqRelation"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "UtranNetwork"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "UtranRelation"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Vc12Ttp"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Vc4Ttp"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "VclTp"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "VendorCredential"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Vlan"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "VLAN"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "VLANGroup"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "VlanPort"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "VpcTp"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "VplTp"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "VRF"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Vrrpv3Interface"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Vrrpv3Session"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "WcdmaCarrier"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "WebServer"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "WifiMobility"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "WifiModule"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "XpProgram"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "CcBranch"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "CombinedCell"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "CsfbForLimitedDualRadioUE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "CsfbToGeranUtran"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "DBSAndSabe"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "DifferentiatedAdmissionControl"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "DlFss"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Drx"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "DualAntDlPerfPkg"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "DualLayBeamfPerfPkg"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "DynamicGBRAdmCtrl"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "DynamicQoSModification"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "EcsCsfb"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "EFuse"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "EnhCellIdInTraces"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ExternalEUtranCellFDD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "GsmSessionContinuity"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "GtpuApplicationTunnel"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "HighSpeedUE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "HoOscCtrlUE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "InterFrequencyLoadBalancing"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "InterFrequencyLTEHandover"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "InterFrequencySessionContinuity"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "IntraLTEHODataFwd"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Irc"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Lppa"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "LppaEcid"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "LsmEcs"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "MaximumCellRange"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "MbmsM3Based"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "MixedMode"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "MobCtrlAtPoorCov"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "MultiErabsPerUser"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "MultiTargetRRCConnReest"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "OctAntUlPerfPkg"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "OperatorDefinedQci"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "OptionalFeatures"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "OtdoaSupl"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Pci"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Pfs"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "PmInitiatedUeMeasurements"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Pws"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "QosAwareScheduler"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "QuadAntUlPerfPkg"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "RadioUnitCascading"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "RateShaping"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "RbsEventStreamer"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "RedirectWithNacc"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "RetCascading"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "RetConfigurationMgt"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "RetSupport"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "RlcUm"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Rps"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "S1HODataFwd"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ServiceSpecificDRX"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "ServiceTriggeredMobility"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "SharedNetworkSupport"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "SingLayBeamfPerfPkg"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "SpidHoWhiteList"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "SpidRATFreqPrio"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "SRVCCtoUTRAN"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Support12Cells"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Support6Cells"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "TCPOptimization"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "TdScdmaSessionContinuity"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "TermPointToLbm"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "Tm7ModeSwitching"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "TmaSupport"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "TtiBundling"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "VswrSupervision"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "WcdmaHandover"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "ericsson_cm", name: "WcdmaSessionContinuity"}, {id: "id", load_datetime: "load_datetime", data: "data"}); +}; + +exports.down = (pgm) => { + pgm.dropTable({schema: "ericsson_cm", name: 'Aal0TpVccTp'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Aal2Ap'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Aal2PathDistributionUnit'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Aal2PathVccTp'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Aal2QosCodePointProfile'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Aal2QosProfile'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Aal2RoutingCase'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Aal2Sp'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Aal5TpVccTp'}); + pgm.dropTable({schema: "ericsson_cm", name: 'AbisIp'}); + pgm.dropTable({schema: "ericsson_cm", name: 'AccessControlList'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ActiveOtherLMs'}); + pgm.dropTable({schema: "ericsson_cm", name: 'AddressIpv4'}); + pgm.dropTable({schema: "ericsson_cm", name: 'AddressIPv4'}); + pgm.dropTable({schema: "ericsson_cm", name: 'AdmissionControl'}); + pgm.dropTable({schema: "ericsson_cm", name: 'AdvCellSup'}); + pgm.dropTable({schema: "ericsson_cm", name: 'AgpsPositioning'}); + pgm.dropTable({schema: "ericsson_cm", name: 'AiDevice'}); + pgm.dropTable({schema: "ericsson_cm", name: 'AiDeviceSet'}); + pgm.dropTable({schema: "ericsson_cm", name: 'AirIfLoadGenerator'}); + pgm.dropTable({schema: "ericsson_cm", name: 'AirIfLoadProfile'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Aisgv2FwDownload'}); + pgm.dropTable({schema: "ericsson_cm", name: 'AlarmIRP'}); + pgm.dropTable({schema: "ericsson_cm", name: 'AlarmPort'}); + pgm.dropTable({schema: "ericsson_cm", name: 'AmoFunction'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Anr'}); + pgm.dropTable({schema: "ericsson_cm", name: 'AnrFunction'}); + pgm.dropTable({schema: "ericsson_cm", name: 'AnrFunctionEUtran'}); + pgm.dropTable({schema: "ericsson_cm", name: 'AnrFunctionGeran'}); + pgm.dropTable({schema: "ericsson_cm", name: 'AnrFunctionUtran'}); + pgm.dropTable({schema: "ericsson_cm", name: 'AnrIafUtran'}); + pgm.dropTable({schema: "ericsson_cm", name: 'AnrPciConflictDrxProfile'}); + pgm.dropTable({schema: "ericsson_cm", name: 'AntennaBranch'}); + pgm.dropTable({schema: "ericsson_cm", name: 'AntennaNearUnit'}); + pgm.dropTable({schema: "ericsson_cm", name: 'AntennaSubunit'}); + pgm.dropTable({schema: "ericsson_cm", name: 'AntennaUnit'}); + pgm.dropTable({schema: "ericsson_cm", name: 'AntennaUnitGroup'}); + pgm.dropTable({schema: "ericsson_cm", name: 'AntFeederCable'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Areas'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ArpMap'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ArpQosClassProfile'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ArpSpiMap'}); + pgm.dropTable({schema: "ericsson_cm", name: 'AtmConfService'}); + pgm.dropTable({schema: "ericsson_cm", name: 'AtmCrossConnection'}); + pgm.dropTable({schema: "ericsson_cm", name: 'AtmPort'}); + pgm.dropTable({schema: "ericsson_cm", name: 'AtmTrafficDescriptor'}); + pgm.dropTable({schema: "ericsson_cm", name: 'AuPort'}); + pgm.dropTable({schema: "ericsson_cm", name: 'AuthenticationOrder'}); + pgm.dropTable({schema: "ericsson_cm", name: 'AuthorizationOrder'}); + pgm.dropTable({schema: "ericsson_cm", name: 'AutoCellCapEstFunction'}); + pgm.dropTable({schema: "ericsson_cm", name: 'AutonomousMode'}); + pgm.dropTable({schema: "ericsson_cm", name: 'AutoProvisioning'}); + pgm.dropTable({schema: "ericsson_cm", name: 'AuxPlugInUnit'}); + pgm.dropTable({schema: "ericsson_cm", name: 'BandCombCompression'}); + pgm.dropTable({schema: "ericsson_cm", name: 'BatteryBackup'}); + pgm.dropTable({schema: "ericsson_cm", name: 'BbProcessingResource'}); + pgm.dropTable({schema: "ericsson_cm", name: 'BestNeighborSI'}); + pgm.dropTable({schema: "ericsson_cm", name: 'BfdProfile'}); + pgm.dropTable({schema: "ericsson_cm", name: 'BoundaryOrdinaryClock'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Bridge'}); + pgm.dropTable({schema: "ericsson_cm", name: 'BrM'}); + pgm.dropTable({schema: "ericsson_cm", name: 'BrmBackup'}); + pgm.dropTable({schema: "ericsson_cm", name: 'BrmBackupHousekeeping'}); + pgm.dropTable({schema: "ericsson_cm", name: 'BrmBackupLabelStore'}); + pgm.dropTable({schema: "ericsson_cm", name: 'BrmBackupManager'}); + pgm.dropTable({schema: "ericsson_cm", name: 'BrmBackupScheduler'}); + pgm.dropTable({schema: "ericsson_cm", name: 'BrmCalendarBasedPeriodicEvent'}); + pgm.dropTable({schema: "ericsson_cm", name: 'BrmFailsafeBackup'}); + pgm.dropTable({schema: "ericsson_cm", name: 'BrmPeriodicEvent'}); + pgm.dropTable({schema: "ericsson_cm", name: 'BrmRollbackAtRestore'}); + pgm.dropTable({schema: "ericsson_cm", name: 'BrmSingleEvent'}); + pgm.dropTable({schema: "ericsson_cm", name: 'BtsFunction'}); + pgm.dropTable({schema: "ericsson_cm", name: 'bulkCmConfigDataFile'}); + pgm.dropTable({schema: "ericsson_cm", name: 'BulkCmIRP'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Cabinet'}); + pgm.dropTable({schema: "ericsson_cm", name: 'CapacityChannelBandwidth'}); + pgm.dropTable({schema: "ericsson_cm", name: 'CapacityConnectedUsers'}); + pgm.dropTable({schema: "ericsson_cm", name: 'CapacityFeatureLicense'}); + pgm.dropTable({schema: "ericsson_cm", name: 'CapacityKey'}); + pgm.dropTable({schema: "ericsson_cm", name: 'CapacityLicenses'}); + pgm.dropTable({schema: "ericsson_cm", name: 'CapacityState'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Carrier'}); + pgm.dropTable({schema: "ericsson_cm", name: 'CarrierAggregationFunction'}); + pgm.dropTable({schema: "ericsson_cm", name: 'CaxFanUnit'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Cbu'}); + pgm.dropTable({schema: "ericsson_cm", name: 'CchFrameSynch'}); + pgm.dropTable({schema: "ericsson_cm", name: 'CcLink'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Cdma2000SessionContinuity'}); + pgm.dropTable({schema: "ericsson_cm", name: 'CellPerformance'}); + pgm.dropTable({schema: "ericsson_cm", name: 'CellResources'}); + pgm.dropTable({schema: "ericsson_cm", name: 'CellSleepFunction'}); + pgm.dropTable({schema: "ericsson_cm", name: 'CellSleepNodeFunction'}); + pgm.dropTable({schema: "ericsson_cm", name: 'CertM'}); + pgm.dropTable({schema: "ericsson_cm", name: 'CertMCapabilities'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ChainCertificate'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ChannelSwitching'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Climate'}); + pgm.dropTable({schema: "ericsson_cm", name: 'CliSsh'}); + pgm.dropTable({schema: "ericsson_cm", name: 'CliTls'}); + pgm.dropTable({schema: "ericsson_cm", name: 'CnOperator'}); + pgm.dropTable({schema: "ericsson_cm", name: 'CommonChannelResources'}); + pgm.dropTable({schema: "ericsson_cm", name: 'CommonChannelResourcesDl'}); + pgm.dropTable({schema: "ericsson_cm", name: 'CommonChannelResourcesUl'}); + pgm.dropTable({schema: "ericsson_cm", name: 'CommunicationContexts'}); + pgm.dropTable({schema: "ericsson_cm", name: 'configData'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ConfigurationVersion'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ConsumedEnergy'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ConsumedEnergyMeasurement'}); + pgm.dropTable({schema: "ericsson_cm", name: 'CoverageRelation'}); + pgm.dropTable({schema: "ericsson_cm", name: 'CpriLinkSupervision'}); + pgm.dropTable({schema: "ericsson_cm", name: 'DataCollectionGeneration'}); + pgm.dropTable({schema: "ericsson_cm", name: 'DataRadioBearer'}); + pgm.dropTable({schema: "ericsson_cm", name: 'DateAndTime'}); + pgm.dropTable({schema: "ericsson_cm", name: 'DchFrameSynch'}); + pgm.dropTable({schema: "ericsson_cm", name: 'DeviceGroup'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Dhcp'}); + pgm.dropTable({schema: "ericsson_cm", name: 'DlBasebandCapacity'}); + pgm.dropTable({schema: "ericsson_cm", name: 'DlComp'}); + pgm.dropTable({schema: "ericsson_cm", name: 'DlPrbCapacity'}); + pgm.dropTable({schema: "ericsson_cm", name: 'DnsClient'}); + pgm.dropTable({schema: "ericsson_cm", name: 'DownlinkBaseBandPool'}); + pgm.dropTable({schema: "ericsson_cm", name: 'DrxProfile'}); + pgm.dropTable({schema: "ericsson_cm", name: 'DscpPcpMap'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Dst'}); + pgm.dropTable({schema: "ericsson_cm", name: 'E1PhysPathTerm'}); + pgm.dropTable({schema: "ericsson_cm", name: 'E1Ttp'}); + pgm.dropTable({schema: "ericsson_cm", name: 'EcBus'}); + pgm.dropTable({schema: "ericsson_cm", name: 'EcPort'}); + pgm.dropTable({schema: "ericsson_cm", name: 'EDchResources'}); + pgm.dropTable({schema: "ericsson_cm", name: 'EmergencyUnlock'}); + pgm.dropTable({schema: "ericsson_cm", name: 'EndcProfilePredefined'}); + pgm.dropTable({schema: "ericsson_cm", name: 'EnergyMeter'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ENodeBFunction'}); + pgm.dropTable({schema: "ericsson_cm", name: 'EnrollmentAuthority'}); + pgm.dropTable({schema: "ericsson_cm", name: 'EnrollmentServer'}); + pgm.dropTable({schema: "ericsson_cm", name: 'EnrollmentServerGroup'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Equipment'}); + pgm.dropTable({schema: "ericsson_cm", name: 'EquipmentDiscovery'}); + pgm.dropTable({schema: "ericsson_cm", name: 'EquipmentSupportFunction'}); + pgm.dropTable({schema: "ericsson_cm", name: 'EricssonFilter'}); + pgm.dropTable({schema: "ericsson_cm", name: 'EricssonLeanCarrierFunction'}); + pgm.dropTable({schema: "ericsson_cm", name: 'EthernetBridgePort'}); + pgm.dropTable({schema: "ericsson_cm", name: 'EthernetInterface'}); + pgm.dropTable({schema: "ericsson_cm", name: 'EthernetLink'}); + pgm.dropTable({schema: "ericsson_cm", name: 'EthernetPort'}); + pgm.dropTable({schema: "ericsson_cm", name: 'EthernetSwitch'}); + pgm.dropTable({schema: "ericsson_cm", name: 'EthernetSwitchFabric'}); + pgm.dropTable({schema: "ericsson_cm", name: 'EthernetSwitchingAdm'}); + pgm.dropTable({schema: "ericsson_cm", name: 'EthernetSwitchModule'}); + pgm.dropTable({schema: "ericsson_cm", name: 'EthernetSwitchModulePort'}); + pgm.dropTable({schema: "ericsson_cm", name: 'EthernetSwitchPort'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Etws'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Eul'}); + pgm.dropTable({schema: "ericsson_cm", name: 'EUtranCellFDD'}); + pgm.dropTable({schema: "ericsson_cm", name: 'EUtranCellRelation'}); + pgm.dropTable({schema: "ericsson_cm", name: 'EUtranCellTDD'}); + pgm.dropTable({schema: "ericsson_cm", name: 'EutraNetwork'}); + pgm.dropTable({schema: "ericsson_cm", name: 'EUtraNetwork'}); + pgm.dropTable({schema: "ericsson_cm", name: 'EutranFreqRelation'}); + pgm.dropTable({schema: "ericsson_cm", name: 'EUtranFreqRelation'}); + pgm.dropTable({schema: "ericsson_cm", name: 'EutranFrequency'}); + pgm.dropTable({schema: "ericsson_cm", name: 'EUtranFrequency'}); + pgm.dropTable({schema: "ericsson_cm", name: 'EventCapabilities'}); + pgm.dropTable({schema: "ericsson_cm", name: 'EventFilterType'}); + pgm.dropTable({schema: "ericsson_cm", name: 'EventGroup'}); + pgm.dropTable({schema: "ericsson_cm", name: 'EventJob'}); + pgm.dropTable({schema: "ericsson_cm", name: 'EventProducer'}); + pgm.dropTable({schema: "ericsson_cm", name: 'EventType'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ExchangeTerminal'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ExchangeTerminalIp'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ExternalAntenna'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ExternalENodeBFunction'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ExternalEUtranCellTDD'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ExternalEutranFrequency'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ExternalEUtranPlmn'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ExternalGeranCell'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ExternalGsmCell'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ExternalGsmFreq'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ExternalGsmFreqGroup'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ExternalGsmPlmn'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ExternalNode'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ExternalPower'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ExternalUtranCell'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ExternalUtranFreq'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ExternalUtranCellFDD'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ExternalUtranPlmn'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Fach'}); + pgm.dropTable({schema: "ericsson_cm", name: 'FanGroup'}); + pgm.dropTable({schema: "ericsson_cm", name: 'FeatureKey'}); + pgm.dropTable({schema: "ericsson_cm", name: 'FeatureState'}); + pgm.dropTable({schema: "ericsson_cm", name: 'FieldReplaceableUnit'}); + pgm.dropTable({schema: "ericsson_cm", name: 'fileFooter'}); + pgm.dropTable({schema: "ericsson_cm", name: 'fileHeader'}); + pgm.dropTable({schema: "ericsson_cm", name: 'FilePullCapabilities'}); + pgm.dropTable({schema: "ericsson_cm", name: 'FileTPM'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Filter'}); + pgm.dropTable({schema: "ericsson_cm", name: 'FlexibleQoSFunction'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Fm'}); + pgm.dropTable({schema: "ericsson_cm", name: 'FmAlarm'}); + pgm.dropTable({schema: "ericsson_cm", name: 'FmAlarmModel'}); + pgm.dropTable({schema: "ericsson_cm", name: 'FmAlarmType'}); + pgm.dropTable({schema: "ericsson_cm", name: 'FmSubscription'}); + pgm.dropTable({schema: "ericsson_cm", name: 'FreqManagement'}); + pgm.dropTable({schema: "ericsson_cm", name: 'FrequencySyncIO'}); + pgm.dropTable({schema: "ericsson_cm", name: 'FtpServer'}); + pgm.dropTable({schema: "ericsson_cm", name: 'FtpTls'}); + pgm.dropTable({schema: "ericsson_cm", name: 'FtpTlsServer'}); + pgm.dropTable({schema: "ericsson_cm", name: 'GeneralProcessorUnit'}); + pgm.dropTable({schema: "ericsson_cm", name: 'GeranCellRelation'}); + pgm.dropTable({schema: "ericsson_cm", name: 'GeraNetwork'}); + pgm.dropTable({schema: "ericsson_cm", name: 'GeranFreqGroup'}); + pgm.dropTable({schema: "ericsson_cm", name: 'GeranFreqGroupRelation'}); + pgm.dropTable({schema: "ericsson_cm", name: 'GeranFrequency'}); + pgm.dropTable({schema: "ericsson_cm", name: 'GigaBitEthernet'}); + pgm.dropTable({schema: "ericsson_cm", name: 'GnssInfo'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Gpeh'}); + pgm.dropTable({schema: "ericsson_cm", name: 'GpsOutSyncLink'}); + pgm.dropTable({schema: "ericsson_cm", name: 'GpsSyncRef'}); + pgm.dropTable({schema: "ericsson_cm", name: 'GracePeriod'}); + pgm.dropTable({schema: "ericsson_cm", name: 'GsmRelation'}); + pgm.dropTable({schema: "ericsson_cm", name: 'GsmSector'}); + pgm.dropTable({schema: "ericsson_cm", name: 'GtpPath'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Handover'}); + pgm.dropTable({schema: "ericsson_cm", name: 'HcRule'}); + pgm.dropTable({schema: "ericsson_cm", name: 'HealthCheckM'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Host'}); + pgm.dropTable({schema: "ericsson_cm", name: 'HoWhiteList'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Hsdsch'}); + pgm.dropTable({schema: "ericsson_cm", name: 'HsDschResources'}); + pgm.dropTable({schema: "ericsson_cm", name: 'HttpM'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Https'}); + pgm.dropTable({schema: "ericsson_cm", name: 'HwInventory'}); + pgm.dropTable({schema: "ericsson_cm", name: 'HwItem'}); + pgm.dropTable({schema: "ericsson_cm", name: 'HwUnit'}); + pgm.dropTable({schema: "ericsson_cm", name: 'IdleModePrioAtRelease'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ImaGroup'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ImaLink'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ImeisvTable'}); + pgm.dropTable({schema: "ericsson_cm", name: 'InstantUplinkAccess'}); + pgm.dropTable({schema: "ericsson_cm", name: 'IntegrationUnlock'}); + pgm.dropTable({schema: "ericsson_cm", name: 'InterfaceIpv4'}); + pgm.dropTable({schema: "ericsson_cm", name: 'InterfaceIPv4'}); + pgm.dropTable({schema: "ericsson_cm", name: 'InternalEthernetPort'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Ip'}); + pgm.dropTable({schema: "ericsson_cm", name: 'IpAccessHostEt'}); + pgm.dropTable({schema: "ericsson_cm", name: 'IpAccessHostGpb'}); + pgm.dropTable({schema: "ericsson_cm", name: 'IpAccessHostPool'}); + pgm.dropTable({schema: "ericsson_cm", name: 'IpAccessHostSpb'}); + pgm.dropTable({schema: "ericsson_cm", name: 'IpAccessSctp'}); + pgm.dropTable({schema: "ericsson_cm", name: 'IpAtmLink'}); + pgm.dropTable({schema: "ericsson_cm", name: 'IpEthPacketDataRouter'}); + pgm.dropTable({schema: "ericsson_cm", name: 'IpFlowMonitor'}); + pgm.dropTable({schema: "ericsson_cm", name: 'IpHostLink'}); + pgm.dropTable({schema: "ericsson_cm", name: 'IpInterface'}); + pgm.dropTable({schema: "ericsson_cm", name: 'IPInterface'}); + pgm.dropTable({schema: "ericsson_cm", name: 'IpLicensing'}); + pgm.dropTable({schema: "ericsson_cm", name: 'IpOam'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Ippm'}); + pgm.dropTable({schema: "ericsson_cm", name: 'IpRoute'}); + pgm.dropTable({schema: "ericsson_cm", name: 'IpRouter'}); + pgm.dropTable({schema: "ericsson_cm", name: 'IpRouteSys'}); + pgm.dropTable({schema: "ericsson_cm", name: 'IpRoutingTable'}); + pgm.dropTable({schema: "ericsson_cm", name: 'IpSec'}); + pgm.dropTable({schema: "ericsson_cm", name: 'IpSyncRef'}); + pgm.dropTable({schema: "ericsson_cm", name: 'IpSystem'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Ipv4DestNetwork'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Ipv4Peer'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Ipv4StaticRoute'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Ipv4StaticRouteTable'}); + pgm.dropTable({schema: "ericsson_cm", name: 'IPv6RoutingTable'}); + pgm.dropTable({schema: "ericsson_cm", name: 'IRPAgent'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Iub'}); + pgm.dropTable({schema: "ericsson_cm", name: 'IubDataStreams'}); + pgm.dropTable({schema: "ericsson_cm", name: 'IubEdch'}); + pgm.dropTable({schema: "ericsson_cm", name: 'IubLink'}); + pgm.dropTable({schema: "ericsson_cm", name: 'IuLink'}); + pgm.dropTable({schema: "ericsson_cm", name: 'IurLink'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Jvm'}); + pgm.dropTable({schema: "ericsson_cm", name: 'KeyFileInformation'}); + pgm.dropTable({schema: "ericsson_cm", name: 'KeyFileManagement'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Lag'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Ldap'}); + pgm.dropTable({schema: "ericsson_cm", name: 'LdapAuthenticationMethod'}); + pgm.dropTable({schema: "ericsson_cm", name: 'LicenseSupport'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Licensing'}); + pgm.dropTable({schema: "ericsson_cm", name: 'LinkTransmissionProfile'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Lm'}); + pgm.dropTable({schema: "ericsson_cm", name: 'LoadBalancingFunction'}); + pgm.dropTable({schema: "ericsson_cm", name: 'LoadControl'}); + pgm.dropTable({schema: "ericsson_cm", name: 'LoadModule'}); + pgm.dropTable({schema: "ericsson_cm", name: 'LocalAuthorizationMethod'}); + pgm.dropTable({schema: "ericsson_cm", name: 'LocationArea'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Log'}); + pgm.dropTable({schema: "ericsson_cm", name: 'LogicalChannelGroup'}); + pgm.dropTable({schema: "ericsson_cm", name: 'LogM'}); + pgm.dropTable({schema: "ericsson_cm", name: 'LogService'}); + pgm.dropTable({schema: "ericsson_cm", name: 'M3uAssociation'}); + pgm.dropTable({schema: "ericsson_cm", name: 'MACConfiguration'}); + pgm.dropTable({schema: "ericsson_cm", name: 'MaintenanceUser'}); + pgm.dropTable({schema: "ericsson_cm", name: 'MaintenanceUserSecurity'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ManagedElement'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ManagedElementData'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ManagementNode'}); + pgm.dropTable({schema: "ericsson_cm", name: 'MbmsServiceArea'}); + pgm.dropTable({schema: "ericsson_cm", name: 'MdtConfiguration'}); + pgm.dropTable({schema: "ericsson_cm", name: 'MeasurementDefinition'}); + pgm.dropTable({schema: "ericsson_cm", name: 'MeContext'}); + pgm.dropTable({schema: "ericsson_cm", name: 'MediumAccessUnit'}); + pgm.dropTable({schema: "ericsson_cm", name: 'MibManager'}); + pgm.dropTable({schema: "ericsson_cm", name: 'MimoSleepFunction'}); + pgm.dropTable({schema: "ericsson_cm", name: 'MocnCellProfile'}); + pgm.dropTable({schema: "ericsson_cm", name: 'MpClusterHandling'}); + pgm.dropTable({schema: "ericsson_cm", name: 'MpProcessingResource'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Mtp3bAp'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Mtp3bSlItu'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Mtp3bSls'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Mtp3bSpItu'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Mtp3bSr'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Mtp3bSrs'}); + pgm.dropTable({schema: "ericsson_cm", name: 'MultiCarrier'}); + pgm.dropTable({schema: "ericsson_cm", name: 'MulticastAntennaBranch'}); + pgm.dropTable({schema: "ericsson_cm", name: 'NbapCommon'}); + pgm.dropTable({schema: "ericsson_cm", name: 'NbapDedicated'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Ncli'}); + pgm.dropTable({schema: "ericsson_cm", name: 'NetconfSsh'}); + pgm.dropTable({schema: "ericsson_cm", name: 'NetconfTls'}); + pgm.dropTable({schema: "ericsson_cm", name: 'NextHop'}); + pgm.dropTable({schema: "ericsson_cm", name: 'NniSaalProfile'}); + pgm.dropTable({schema: "ericsson_cm", name: 'NniSaalTp'}); + pgm.dropTable({schema: "ericsson_cm", name: 'NodeBFunction'}); + pgm.dropTable({schema: "ericsson_cm", name: 'NodeBLocalCell'}); + pgm.dropTable({schema: "ericsson_cm", name: 'NodeBLocalCellGroup'}); + pgm.dropTable({schema: "ericsson_cm", name: 'NodeBSectorCarrier'}); + pgm.dropTable({schema: "ericsson_cm", name: 'NodeCredential'}); + pgm.dropTable({schema: "ericsson_cm", name: 'NodeFunction'}); + pgm.dropTable({schema: "ericsson_cm", name: 'NodeGroupSyncMember'}); + pgm.dropTable({schema: "ericsson_cm", name: 'NodeManagementFunction'}); + pgm.dropTable({schema: "ericsson_cm", name: 'NodePerformance'}); + pgm.dropTable({schema: "ericsson_cm", name: 'NodeSupport'}); + pgm.dropTable({schema: "ericsson_cm", name: 'NodeSynch'}); + pgm.dropTable({schema: "ericsson_cm", name: 'NonPlannedPciDrxProfile'}); + pgm.dropTable({schema: "ericsson_cm", name: 'NotificationIRP'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Ntp'}); + pgm.dropTable({schema: "ericsson_cm", name: 'NtpFrequencySync'}); + pgm.dropTable({schema: "ericsson_cm", name: 'NtpServer'}); + pgm.dropTable({schema: "ericsson_cm", name: 'OamAccessPoint'}); + pgm.dropTable({schema: "ericsson_cm", name: 'OamIpSupport'}); + pgm.dropTable({schema: "ericsson_cm", name: 'OamTrafficClass'}); + pgm.dropTable({schema: "ericsson_cm", name: 'OnSiteActivities'}); + pgm.dropTable({schema: "ericsson_cm", name: 'OpProfiles'}); + pgm.dropTable({schema: "ericsson_cm", name: 'OptionalFeatureLicense'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Os155SpiTtp'}); + pgm.dropTable({schema: "ericsson_cm", name: 'PacketDataRouter'}); + pgm.dropTable({schema: "ericsson_cm", name: 'PacketFrequencySyncRef'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Paging'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ParameterChangeRequests'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Pch'}); + pgm.dropTable({schema: "ericsson_cm", name: 'PcpSetToQueue'}); + pgm.dropTable({schema: "ericsson_cm", name: 'PcpToQueueMap'}); + pgm.dropTable({schema: "ericsson_cm", name: 'PdrDevice'}); + pgm.dropTable({schema: "ericsson_cm", name: 'PeerIPv4'}); + pgm.dropTable({schema: "ericsson_cm", name: 'PiuDevice'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Plmn'}); + pgm.dropTable({schema: "ericsson_cm", name: 'PlmnIdentityGroup'}); + pgm.dropTable({schema: "ericsson_cm", name: 'PlugInUnit'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Pm'}); + pgm.dropTable({schema: "ericsson_cm", name: 'PmEventM'}); + pgm.dropTable({schema: "ericsson_cm", name: 'PmEventService'}); + pgm.dropTable({schema: "ericsson_cm", name: 'PmMeasurementCapabilities'}); + pgm.dropTable({schema: "ericsson_cm", name: 'PmService'}); + pgm.dropTable({schema: "ericsson_cm", name: 'PmSupport'}); + pgm.dropTable({schema: "ericsson_cm", name: 'PmUeMeasControl'}); + pgm.dropTable({schema: "ericsson_cm", name: 'PmUlInterferenceReport'}); + pgm.dropTable({schema: "ericsson_cm", name: 'PositioningServiceClass'}); + pgm.dropTable({schema: "ericsson_cm", name: 'PowerControl'}); + pgm.dropTable({schema: "ericsson_cm", name: 'PowerDistribution'}); + pgm.dropTable({schema: "ericsson_cm", name: 'PowerSupply'}); + pgm.dropTable({schema: "ericsson_cm", name: 'PredefRbsScannerGpeh'}); + pgm.dropTable({schema: "ericsson_cm", name: 'PreschedProfile'}); + pgm.dropTable({schema: "ericsson_cm", name: 'PreschedulingProfile'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ProcessorLoad'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Program'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Ptp'}); + pgm.dropTable({schema: "ericsson_cm", name: 'PtpBcOcPort'}); + pgm.dropTable({schema: "ericsson_cm", name: 'PiuType'}); + pgm.dropTable({schema: "ericsson_cm", name: 'QciProfilePredefined'}); + pgm.dropTable({schema: "ericsson_cm", name: 'QciTable'}); + pgm.dropTable({schema: "ericsson_cm", name: 'QoSClassifier'}); + pgm.dropTable({schema: "ericsson_cm", name: 'QosPolicy'}); + pgm.dropTable({schema: "ericsson_cm", name: 'QosProfiles'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Queue'}); + pgm.dropTable({schema: "ericsson_cm", name: 'QueueSystem'}); + pgm.dropTable({schema: "ericsson_cm", name: 'RabHandling'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Rach'}); + pgm.dropTable({schema: "ericsson_cm", name: 'RadioBearerTable'}); + pgm.dropTable({schema: "ericsson_cm", name: 'RadioEquipmentClock'}); + pgm.dropTable({schema: "ericsson_cm", name: 'RadioEquipmentClockReference'}); + pgm.dropTable({schema: "ericsson_cm", name: 'RadioLinks'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Ranap'}); + pgm.dropTable({schema: "ericsson_cm", name: 'RATFreqPrio'}); + pgm.dropTable({schema: "ericsson_cm", name: 'RbsConfiguration'}); + pgm.dropTable({schema: "ericsson_cm", name: 'RbsLocalCell'}); + pgm.dropTable({schema: "ericsson_cm", name: 'RbsMeasControl'}); + pgm.dropTable({schema: "ericsson_cm", name: 'RbsSlot'}); + pgm.dropTable({schema: "ericsson_cm", name: 'RbsSubrack'}); + pgm.dropTable({schema: "ericsson_cm", name: 'RbsSynchronization'}); + pgm.dropTable({schema: "ericsson_cm", name: 'RbsUnit'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Rcs'}); + pgm.dropTable({schema: "ericsson_cm", name: 'RdiCable'}); + pgm.dropTable({schema: "ericsson_cm", name: 'RdiPort'}); + pgm.dropTable({schema: "ericsson_cm", name: 'RealTimeSecLog'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ReliableProgramUniter'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Repertoire'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ReportConfigA1A2Br'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ReportConfigA1Prim'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ReportConfigA1Sec'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ReportConfigA4'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ReportConfigA5'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ReportConfigA5Anr'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ReportConfigA5DlComp'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ReportConfigA5SoftLock'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ReportConfigA5UlTrig'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ReportConfigB1Geran'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ReportConfigB1Utra'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ReportConfigB2Cdma2000'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ReportConfigB2Cdma20001xRtt'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ReportConfigB2CdmaRttUlTrig'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ReportConfigB2CdmaUlTrig'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ReportConfigB2Geran'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ReportConfigB2GeranUlTrig'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ReportConfigB2Utra'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ReportConfigB2UtraUlTrig'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ReportConfigCsfbCdma2000'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ReportConfigCsfbGeran'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ReportConfigCsfbUtra'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ReportConfigCsg'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ReportConfigElcA1A2'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ReportConfigEUtraBadCovPrim'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ReportConfigEUtraBadCovSec'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ReportConfigEUtraBestCell'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ReportConfigEUtraBestCellAnr'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ReportConfigEUtraIFA3UlTrig'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ReportConfigEUtraIFBestCell'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ReportConfigEUtraInterFreqLb'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ReportConfigEUtraInterFreqMbms'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ReportConfigEUtraIntraFreqPm'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ReportConfigInterEnbUlComp'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ReportConfigInterRatLb'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ReportConfigSCellA1A2'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ReportConfigSCellA4'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ReportConfigSCellA6'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ReportConfigSearch'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ResMeasControl'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ResourceAllocationFunction'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ResourcePartitions'}); + pgm.dropTable({schema: "ericsson_cm", name: 'RetDevice'}); + pgm.dropTable({schema: "ericsson_cm", name: 'RetDeviceSet'}); + pgm.dropTable({schema: "ericsson_cm", name: 'RetSubUnit'}); + pgm.dropTable({schema: "ericsson_cm", name: 'RetuDeviceGroup'}); + pgm.dropTable({schema: "ericsson_cm", name: 'RfBranch'}); + pgm.dropTable({schema: "ericsson_cm", name: 'RfPort'}); + pgm.dropTable({schema: "ericsson_cm", name: 'RiLink'}); + pgm.dropTable({schema: "ericsson_cm", name: 'RiPort'}); + pgm.dropTable({schema: "ericsson_cm", name: 'RlfProfile'}); + pgm.dropTable({schema: "ericsson_cm", name: 'RncCapacity'}); + pgm.dropTable({schema: "ericsson_cm", name: 'RncConfigLimits'}); + pgm.dropTable({schema: "ericsson_cm", name: 'RncFeature'}); + pgm.dropTable({schema: "ericsson_cm", name: 'RncFunction'}); + pgm.dropTable({schema: "ericsson_cm", name: 'RncModule'}); + pgm.dropTable({schema: "ericsson_cm", name: 'RnlQosClassProfile'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Rnsap'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ROHC'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Role'}); + pgm.dropTable({schema: "ericsson_cm", name: 'RoutingPolicyIpv4'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Router'}); + pgm.dropTable({schema: "ericsson_cm", name: 'RouteTableIPv4Static'}); + pgm.dropTable({schema: "ericsson_cm", name: 'RoutingArea'}); + pgm.dropTable({schema: "ericsson_cm", name: 'RoutingTable'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Rrc'}); + pgm.dropTable({schema: "ericsson_cm", name: 'RruDeviceGroup'}); + pgm.dropTable({schema: "ericsson_cm", name: 'RttPositioning'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Rule'}); + pgm.dropTable({schema: "ericsson_cm", name: 'SasPositioning'}); + pgm.dropTable({schema: "ericsson_cm", name: 'SccpApLocal'}); + pgm.dropTable({schema: "ericsson_cm", name: 'SccpApRemote'}); + pgm.dropTable({schema: "ericsson_cm", name: 'SccpScrc'}); + pgm.dropTable({schema: "ericsson_cm", name: 'SccpSp'}); + pgm.dropTable({schema: "ericsson_cm", name: 'SchedulerSp'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Schema'}); + pgm.dropTable({schema: "ericsson_cm", name: 'SciProfile'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Sctp'}); + pgm.dropTable({schema: "ericsson_cm", name: 'SctpAssociation'}); + pgm.dropTable({schema: "ericsson_cm", name: 'SctpEndpoint'}); + pgm.dropTable({schema: "ericsson_cm", name: 'SctpProfile'}); + pgm.dropTable({schema: "ericsson_cm", name: 'SecM'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Sector'}); + pgm.dropTable({schema: "ericsson_cm", name: 'SectorAntenna'}); + pgm.dropTable({schema: "ericsson_cm", name: 'SectorCarrier'}); + pgm.dropTable({schema: "ericsson_cm", name: 'SectorEquipmentFunction'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Security'}); + pgm.dropTable({schema: "ericsson_cm", name: 'SecurityHandling'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ServiceArea'}); + pgm.dropTable({schema: "ericsson_cm", name: 'SfpModule'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Sftp'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Shaper'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Sid'}); + pgm.dropTable({schema: "ericsson_cm", name: 'SignalingRadioBearer'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Site'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Slot'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Snmp'}); + pgm.dropTable({schema: "ericsson_cm", name: 'SnmpTargetV2C'}); + pgm.dropTable({schema: "ericsson_cm", name: 'SnmpTargetV3'}); + pgm.dropTable({schema: "ericsson_cm", name: 'SpDevicePool'}); + pgm.dropTable({schema: "ericsson_cm", name: 'SpiQosClass'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Ssh'}); + pgm.dropTable({schema: "ericsson_cm", name: 'STN'}); + pgm.dropTable({schema: "ericsson_cm", name: 'StnFunction'}); + pgm.dropTable({schema: "ericsson_cm", name: 'StreamingCapabilities'}); + pgm.dropTable({schema: "ericsson_cm", name: 'SubNetwork'}); + pgm.dropTable({schema: "ericsson_cm", name: 'SubNetwork_2'}); + pgm.dropTable({schema: "ericsson_cm", name: 'SubNetwork_3'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Subrack'}); + pgm.dropTable({schema: "ericsson_cm", name: 'SubrackProdType'}); + pgm.dropTable({schema: "ericsson_cm", name: 'SubscriberProfileID'}); + pgm.dropTable({schema: "ericsson_cm", name: 'SubscrProfileIdHandling'}); + pgm.dropTable({schema: "ericsson_cm", name: 'SupportUnit'}); + pgm.dropTable({schema: "ericsson_cm", name: 'SwAllocation'}); + pgm.dropTable({schema: "ericsson_cm", name: 'SwInventory'}); + pgm.dropTable({schema: "ericsson_cm", name: 'SwitchCoreUnit'}); + pgm.dropTable({schema: "ericsson_cm", name: 'SwitchInternalLinkPort'}); + pgm.dropTable({schema: "ericsson_cm", name: 'SwitchPortStp'}); + pgm.dropTable({schema: "ericsson_cm", name: 'SwitchStp'}); + pgm.dropTable({schema: "ericsson_cm", name: 'SwItem'}); + pgm.dropTable({schema: "ericsson_cm", name: 'SwM'}); + pgm.dropTable({schema: "ericsson_cm", name: 'SwManagement'}); + pgm.dropTable({schema: "ericsson_cm", name: 'SwVersion'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Synchronization'}); + pgm.dropTable({schema: "ericsson_cm", name: 'SyncPort'}); + pgm.dropTable({schema: "ericsson_cm", name: 'SyncServer'}); + pgm.dropTable({schema: "ericsson_cm", name: 'SysM'}); + pgm.dropTable({schema: "ericsson_cm", name: 'SystemFunctions'}); + pgm.dropTable({schema: "ericsson_cm", name: 'TempSensor'}); + pgm.dropTable({schema: "ericsson_cm", name: 'TermPointToENB'}); + pgm.dropTable({schema: "ericsson_cm", name: 'TermPointToMme'}); + pgm.dropTable({schema: "ericsson_cm", name: 'TermPointToSGW'}); + pgm.dropTable({schema: "ericsson_cm", name: 'TimeM'}); + pgm.dropTable({schema: "ericsson_cm", name: 'TimeServer'}); + pgm.dropTable({schema: "ericsson_cm", name: 'TimeSetting'}); + pgm.dropTable({schema: "ericsson_cm", name: 'TimeSettings'}); + pgm.dropTable({schema: "ericsson_cm", name: 'TimeSyncIo'}); + pgm.dropTable({schema: "ericsson_cm", name: 'TimeSyncIO'}); + pgm.dropTable({schema: "ericsson_cm", name: 'TimingUnit'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Tls'}); + pgm.dropTable({schema: "ericsson_cm", name: 'TnApplication'}); + pgm.dropTable({schema: "ericsson_cm", name: 'TnlCchQosClassProfile'}); + pgm.dropTable({schema: "ericsson_cm", name: 'TnlDchQosClassProfile'}); + pgm.dropTable({schema: "ericsson_cm", name: 'TnlHspaQosClassProfile'}); + pgm.dropTable({schema: "ericsson_cm", name: 'TnlIuQosClassProfile'}); + pgm.dropTable({schema: "ericsson_cm", name: 'TnlQosClass'}); + pgm.dropTable({schema: "ericsson_cm", name: 'TnPort'}); + pgm.dropTable({schema: "ericsson_cm", name: 'TpaDevice'}); + pgm.dropTable({schema: "ericsson_cm", name: 'TpaDeviceSet'}); + pgm.dropTable({schema: "ericsson_cm", name: 'TrafficAwarePowerSave'}); + pgm.dropTable({schema: "ericsson_cm", name: 'TrafficClass'}); + pgm.dropTable({schema: "ericsson_cm", name: 'TrafficClassPsInt'}); + pgm.dropTable({schema: "ericsson_cm", name: 'TrafficManagement'}); + pgm.dropTable({schema: "ericsson_cm", name: 'TrafficManager'}); + pgm.dropTable({schema: "ericsson_cm", name: 'TrafficScheduler'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Transceiver'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Transport'}); + pgm.dropTable({schema: "ericsson_cm", name: 'TransportNetwork'}); + pgm.dropTable({schema: "ericsson_cm", name: 'TrustCategory'}); + pgm.dropTable({schema: "ericsson_cm", name: 'TrustedCertificate'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Trx'}); + pgm.dropTable({schema: "ericsson_cm", name: 'TuSyncRef'}); + pgm.dropTable({schema: "ericsson_cm", name: 'TwampInitiator'}); + pgm.dropTable({schema: "ericsson_cm", name: 'TwampResponder'}); + pgm.dropTable({schema: "ericsson_cm", name: 'TwampTestSession'}); + pgm.dropTable({schema: "ericsson_cm", name: 'TxDataCloning'}); + pgm.dropTable({schema: "ericsson_cm", name: 'TxDeviceGroup'}); + pgm.dropTable({schema: "ericsson_cm", name: 'UeFunctionality'}); + pgm.dropTable({schema: "ericsson_cm", name: 'UeMeasControl'}); + pgm.dropTable({schema: "ericsson_cm", name: 'UePosCellId'}); + pgm.dropTable({schema: "ericsson_cm", name: 'UePositioning'}); + pgm.dropTable({schema: "ericsson_cm", name: 'UeRabType'}); + pgm.dropTable({schema: "ericsson_cm", name: 'UeRc'}); + pgm.dropTable({schema: "ericsson_cm", name: 'UeRcEdchFlow'}); + pgm.dropTable({schema: "ericsson_cm", name: 'UeRcPhyChEdch'}); + pgm.dropTable({schema: "ericsson_cm", name: 'UeRcRab'}); + pgm.dropTable({schema: "ericsson_cm", name: 'UeRcTrCh'}); + pgm.dropTable({schema: "ericsson_cm", name: 'UeRrcType'}); + pgm.dropTable({schema: "ericsson_cm", name: 'UeTac'}); + pgm.dropTable({schema: "ericsson_cm", name: 'UlBasebandCapacity'}); + pgm.dropTable({schema: "ericsson_cm", name: 'UlCompGroup'}); + pgm.dropTable({schema: "ericsson_cm", name: 'UlFss'}); + pgm.dropTable({schema: "ericsson_cm", name: 'UlPrbCapacity'}); + pgm.dropTable({schema: "ericsson_cm", name: 'UniSaalProfile'}); + pgm.dropTable({schema: "ericsson_cm", name: 'UniSaalTp'}); + pgm.dropTable({schema: "ericsson_cm", name: 'UpgradePackage'}); + pgm.dropTable({schema: "ericsson_cm", name: 'UpgradeTrace'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Ura'}); + pgm.dropTable({schema: "ericsson_cm", name: 'UserIdentity'}); + pgm.dropTable({schema: "ericsson_cm", name: 'UserManagement'}); + pgm.dropTable({schema: "ericsson_cm", name: 'UsrPrcBasedKpi'}); + pgm.dropTable({schema: "ericsson_cm", name: 'UtranCell'}); + pgm.dropTable({schema: "ericsson_cm", name: 'UtranCellRelation'}); + pgm.dropTable({schema: "ericsson_cm", name: 'UtranFrequency'}); + pgm.dropTable({schema: "ericsson_cm", name: 'UtraNetwork'}); + pgm.dropTable({schema: "ericsson_cm", name: 'UtranFreqRelation'}); + pgm.dropTable({schema: "ericsson_cm", name: 'UtranNetwork'}); + pgm.dropTable({schema: "ericsson_cm", name: 'UtranRelation'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Vc12Ttp'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Vc4Ttp'}); + pgm.dropTable({schema: "ericsson_cm", name: 'VclTp'}); + pgm.dropTable({schema: "ericsson_cm", name: 'VendorCredential'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Vlan'}); + pgm.dropTable({schema: "ericsson_cm", name: 'VLAN'}); + pgm.dropTable({schema: "ericsson_cm", name: 'VLANGroup'}); + pgm.dropTable({schema: "ericsson_cm", name: 'VlanPort'}); + pgm.dropTable({schema: "ericsson_cm", name: 'VpcTp'}); + pgm.dropTable({schema: "ericsson_cm", name: 'VplTp'}); + pgm.dropTable({schema: "ericsson_cm", name: 'VRF'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Vrrpv3Interface'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Vrrpv3Session'}); + pgm.dropTable({schema: "ericsson_cm", name: 'WcdmaCarrier'}); + pgm.dropTable({schema: "ericsson_cm", name: 'WebServer'}); + pgm.dropTable({schema: "ericsson_cm", name: 'WifiMobility'}); + pgm.dropTable({schema: "ericsson_cm", name: 'WifiModule'}); + pgm.dropTable({schema: "ericsson_cm", name: 'XpProgram'}); + pgm.dropTable({schema: "ericsson_cm", name: 'CcBranch'}); + pgm.dropTable({schema: "ericsson_cm", name: 'CombinedCell'}); + pgm.dropTable({schema: "ericsson_cm", name: 'CsfbForLimitedDualRadioUE'}); + pgm.dropTable({schema: "ericsson_cm", name: 'CsfbToGeranUtran'}); + pgm.dropTable({schema: "ericsson_cm", name: 'DBSAndSabe'}); + pgm.dropTable({schema: "ericsson_cm", name: 'DifferentiatedAdmissionControl'}); + pgm.dropTable({schema: "ericsson_cm", name: 'DlFss'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Drx'}); + pgm.dropTable({schema: "ericsson_cm", name: 'DualAntDlPerfPkg'}); + pgm.dropTable({schema: "ericsson_cm", name: 'DualLayBeamfPerfPkg'}); + pgm.dropTable({schema: "ericsson_cm", name: 'DynamicGBRAdmCtrl'}); + pgm.dropTable({schema: "ericsson_cm", name: 'DynamicQoSModification'}); + pgm.dropTable({schema: "ericsson_cm", name: 'EcsCsfb'}); + pgm.dropTable({schema: "ericsson_cm", name: 'EFuse'}); + pgm.dropTable({schema: "ericsson_cm", name: 'EnhCellIdInTraces'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ExternalEUtranCellFDD'}); + pgm.dropTable({schema: "ericsson_cm", name: 'GsmSessionContinuity'}); + pgm.dropTable({schema: "ericsson_cm", name: 'GtpuApplicationTunnel'}); + pgm.dropTable({schema: "ericsson_cm", name: 'HighSpeedUE'}); + pgm.dropTable({schema: "ericsson_cm", name: 'HoOscCtrlUE'}); + pgm.dropTable({schema: "ericsson_cm", name: 'InterFrequencyLoadBalancing'}); + pgm.dropTable({schema: "ericsson_cm", name: 'InterFrequencyLTEHandover'}); + pgm.dropTable({schema: "ericsson_cm", name: 'InterFrequencySessionContinuity'}); + pgm.dropTable({schema: "ericsson_cm", name: 'IntraLTEHODataFwd'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Irc'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Lppa'}); + pgm.dropTable({schema: "ericsson_cm", name: 'LppaEcid'}); + pgm.dropTable({schema: "ericsson_cm", name: 'LsmEcs'}); + pgm.dropTable({schema: "ericsson_cm", name: 'MaximumCellRange'}); + pgm.dropTable({schema: "ericsson_cm", name: 'MbmsM3Based'}); + pgm.dropTable({schema: "ericsson_cm", name: 'MixedMode'}); + pgm.dropTable({schema: "ericsson_cm", name: 'MobCtrlAtPoorCov'}); + pgm.dropTable({schema: "ericsson_cm", name: 'MultiErabsPerUser'}); + pgm.dropTable({schema: "ericsson_cm", name: 'MultiTargetRRCConnReest'}); + pgm.dropTable({schema: "ericsson_cm", name: 'OctAntUlPerfPkg'}); + pgm.dropTable({schema: "ericsson_cm", name: 'OperatorDefinedQci'}); + pgm.dropTable({schema: "ericsson_cm", name: 'OptionalFeatures'}); + pgm.dropTable({schema: "ericsson_cm", name: 'OtdoaSupl'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Pci'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Pfs'}); + pgm.dropTable({schema: "ericsson_cm", name: 'PmInitiatedUeMeasurements'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Pws'}); + pgm.dropTable({schema: "ericsson_cm", name: 'QosAwareScheduler'}); + pgm.dropTable({schema: "ericsson_cm", name: 'QuadAntUlPerfPkg'}); + pgm.dropTable({schema: "ericsson_cm", name: 'RadioUnitCascading'}); + pgm.dropTable({schema: "ericsson_cm", name: 'RateShaping'}); + pgm.dropTable({schema: "ericsson_cm", name: 'RbsEventStreamer'}); + pgm.dropTable({schema: "ericsson_cm", name: 'RedirectWithNacc'}); + pgm.dropTable({schema: "ericsson_cm", name: 'RetCascading'}); + pgm.dropTable({schema: "ericsson_cm", name: 'RetConfigurationMgt'}); + pgm.dropTable({schema: "ericsson_cm", name: 'RetSupport'}); + pgm.dropTable({schema: "ericsson_cm", name: 'RlcUm'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Rps'}); + pgm.dropTable({schema: "ericsson_cm", name: 'S1HODataFwd'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ServiceSpecificDRX'}); + pgm.dropTable({schema: "ericsson_cm", name: 'ServiceTriggeredMobility'}); + pgm.dropTable({schema: "ericsson_cm", name: 'SharedNetworkSupport'}); + pgm.dropTable({schema: "ericsson_cm", name: 'SingLayBeamfPerfPkg'}); + pgm.dropTable({schema: "ericsson_cm", name: 'SpidHoWhiteList'}); + pgm.dropTable({schema: "ericsson_cm", name: 'SpidRATFreqPrio'}); + pgm.dropTable({schema: "ericsson_cm", name: 'SRVCCtoUTRAN'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Support12Cells'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Support6Cells'}); + pgm.dropTable({schema: "ericsson_cm", name: 'TCPOptimization'}); + pgm.dropTable({schema: "ericsson_cm", name: 'TdScdmaSessionContinuity'}); + pgm.dropTable({schema: "ericsson_cm", name: 'TermPointToLbm'}); + pgm.dropTable({schema: "ericsson_cm", name: 'Tm7ModeSwitching'}); + pgm.dropTable({schema: "ericsson_cm", name: 'TmaSupport'}); + pgm.dropTable({schema: "ericsson_cm", name: 'TtiBundling'}); + pgm.dropTable({schema: "ericsson_cm", name: 'VswrSupervision'}); + pgm.dropTable({schema: "ericsson_cm", name: 'WcdmaHandover'}); + pgm.dropTable({schema: "ericsson_cm", name: 'WcdmaSessionContinuity'}); +}; diff --git a/db/migrations/1564268988367_create-huawei-cm-tables.js b/db/migrations/1564268988367_create-huawei-cm-tables.js new file mode 100644 index 00000000..78ee263e --- /dev/null +++ b/db/migrations/1564268988367_create-huawei-cm-tables.js @@ -0,0 +1,2440 @@ +exports.up = (pgm) => { + pgm.noTransaction(); + + //ACT,BLK,MOD tables + pgm.createTable({schema: "huawei_cm", name: "AE1T1_MOD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BRD_MOD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTS_ACT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CAB_MOD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "G2GNCELL_MOD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "MSP_ACT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "MTP3LKS_ACT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "MTP3LNK_ACT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "SUBRACK_MOD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "TRMMAP_MOD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BRD_MOD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CAB_MOD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "ETHPORT_ACT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "MSP_ACT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "MTP3LKS_ACT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "MTP3LNK_ACT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "SUBRACK_MOD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "TRMMAP_MOD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UCELLCBS_ACT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UCELLHSDPA_ACT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UCELLHSUPA_ACT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UCELL_ACT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UPRACH_ACT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "USCCPCH_ACT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UTYPRAB_ACT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UTYPSRB_ACT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + + pgm.createTable({schema: "huawei_cm", name: "2GHASHKEY"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "2GHASHKEY"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "2GUSERIDANONSWITCH"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "3GHASHKEY"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "3GUSERIDANONSWITCH"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "AAL2NODE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "AAL2PATH"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "AAL2RT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "AAL2TMR"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "ABIS"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "ABISE1T1"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "ADJMAP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "ADJNODE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "AE1T1"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "AITFOTHPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "AITFREV"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "ALGCTRLPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "ALGODEFAULTPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "ALMBLKPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "ALMBLKSW"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "ALMCAPACITY"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "ALMLVL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "ALMML"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "ALMOSCISW"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "ALMOSCITHRD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "ALMSCRN"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "ALMSHLD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "ANR"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "APPCERT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "ATESTPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "ATMTRF"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BAMIPRT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BASEBANDEQM"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BASEBANDEQMBOARDREF"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BCCHCFG"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BEDLPWRDIFF"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BFDPROTOSW"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BFMIMOADAPTIVEPARACFG"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BOXRPT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BRD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BRDSTALMSHLD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BSCAISS"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BSCAITFTMR"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BSCBASIC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BSCDSTPA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BSCEXSOFTPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BSCFCPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BSCINNSOFT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BSCINNTMR"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BSCJBF"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BSCNSPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BSCPCUTYPE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BSCPSINNERSOFTPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BSCPSGBPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BSCPSSOFTPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BSCPSSTAT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BSCPSTCDSCPMAP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BSCPSUMPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BSCSIGTRC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BSCSTATATTR"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BSCTESTPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BSCTMR"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BSCUDBO"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BSSGPPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BSSLS"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTS"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSABISMUXFLOW"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSABISPRIMAP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSABISTROP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSAISS"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSALM"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSALMFLASHTHD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSALMFLASHTW"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSALMPORT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSANTFEEDERBRD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSANTFEEDERCONNECT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSAPMUBP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSAPPCERT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSAUTODLDACTINFO"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSBAKPWR"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSBBMODE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSBINDLOCGRP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSBRD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSBRDCAP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSBREAKPOINT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSBWPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSCABINET"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSCABPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSCELLPATCHPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSCERTCHKTSK"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSCERTDEPLOY"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSCERTMK"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSCERTREQ"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSCHNFALLBACK"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSCHRFILTER"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSCLK"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSCONNECT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSCPRIPORT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSCRC4"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSCRLPOLICY"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSCTRLEX"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSCTRLLNK"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSDDPUBP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSDEMUBP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSDEVIP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSDHCPSVRIP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSDHEUBP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSDSCPMAP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSDTMUBP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSE1T1BER"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSEAMRC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSENVALMPORT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSEQUIPMENT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSESN"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSETHOAM"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSETHOAMAH"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSETHPORT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSEXD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSFALLBACK"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSFCUPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSFLEXABISPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSFMUABP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSGTRANSPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSGUPWRSHRFP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSIDLETS"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSIKECFG"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSINTRXUSPEC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSIP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSIPCLKPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSIPGUARD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSIPRT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSJBF"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSLAPDWS"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSLLDPGLOBAL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSLNKBKATTR"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSLOCALETHPORT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSLOCALUSBPORT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSLOCGRP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSLOCKBCCH"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSLR"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSLSW"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSMNTMODE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSMPGRP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSMPLNK"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSNFCBBP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSOMLBACKUP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSOMLDETECT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSOMLTS"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSOTHPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSOUTPUT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSPATCHPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSPINGSW"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSPOWERTYPE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSPLRALM"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSPSUFP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSPWRSHARE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSPWRTYPE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSRELIALOGSWITCH"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSRET"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSRETDEVICEDATA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSRETSUBUNIT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSRINGATTR"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSRSTINFOEFFECT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSRSTLIST"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSRSV"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSTRXBRD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSRXU2LOCGRP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSRXUBP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSRXUBRD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSRXUCHAIN"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSSHARING"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSTEMPLATERSC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSTHEFTALM"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSTMA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSTMADEVICEDATA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSTMASUBUNIT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSTRANS"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSTRCMPR"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSTRUSTCERT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSTRXBACKUP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSVLAN"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSXFC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BTSXMUFP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CAB"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CAMGTCFG"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CAPARATERANGE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CBSIUBCITFTIMER"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CCGN"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CDRFILE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CELL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CELLACBAR"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CELLACCESS"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CELLALGOSWITCH"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CELLAUTOHOMING"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CELLBF"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CELLBFMIMOPARACFG"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CELLBIND2BTS"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CELLCBS"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CELLCHPWRCFG"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CELLCSPCPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CELLDLCOMPALGO"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CELLDLICIC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CELLDLICICMCPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CELLDLPCPDCCH"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CELLDLPCPDSCH"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CELLDLPCPDSCHPA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CELLDLPCPHICH"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CELLDLSCHALGO"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CELLDRXPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CELLDSS"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CELLDYNACBARALGOPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CELLERACH"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CELLGLDSS"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CELLHOPARACFG"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CELLIDPRDUPT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CELLLOWPOWER"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CELLMBMSCFG"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CELLMCPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CELLMIMO"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CELLMIMOPARACFG"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CELLMLB"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CELLMLBHO"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CELLMRO"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CELLNOACCESSALMPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CELLOP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CELLPCALGO"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CELLPDCCHALGO"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CELLPUCCHALGO"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CELLRACHALGO"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CELLRACTHD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CELLRESEL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CELLRESELGERAN"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CELLRESELUTRAN"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CELLRFSHUTDOWN"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CELLRICALGO"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CELLSEL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CELLSERVICEDIFFCFG"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CELLSHUTDOWN"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CELLSIMAP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CELLSTANDARDQCI"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CELLTEMPLATERSC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CELLULCOMPALGO"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CELLULICIC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CELLULICICMCPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CELLULPCCOMM"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CELLULPCDEDIC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CELLULSCHALGO"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CERRMTIMER"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CERTCHKTSK"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CERTDEPLOY"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CERTMK"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CERTREQ"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CFGCHK"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CHGTHRSHOLD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CHRRNCCTRL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CHRSCOPECTRL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CLK"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CLKMODE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CLKSRC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CNOPERATOR"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CNOPERATORHOCFG"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CNOPERATORIPPATH"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CNOPERATORSTANDARDQCI"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CNOPERATORTA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CNOPEREXTPLMN"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "COMMONFUNCTION"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CONFIGURE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CONNTYPE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "COPTLNK"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "COUNTERCHECKPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CPBEARER"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CPUTHD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CQIADAPTIVECFG"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CRLPOLICY"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CSFALLBACKBLINDHOCFG"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CSFALLBACKHO"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CSFALLBACKPOLICYCFG"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CSPCALGOPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CSPRECTRL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CTFTST"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CTRLFACTOR"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CTRLPLNFCPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "DCHTHDRATERATIO"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "DELAYCLASS"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "DELAYUPDATE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "DEVIP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "DEVRSVDPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "DEVSOFTPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "DHCPRELAYSWITCH"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "DHCPSVRIP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "DIFPRI"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "DISTBASEDHO"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "DLFLOWCTRLPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "DPB"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "DRX"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "DRXPARAGROUP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "DSCPMAP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "DSP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "DSPLVDSMODE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "DSSPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "DXX"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "DXXCONNECT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "DXXTSEXGRELATION"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "E1T1"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "E1T1BEAR"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "E2EQOSPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "EDCHTHDRATERATIO"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "EMC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "EMSIP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "EMSTZ"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "ENODEBALGOSWITCH"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "ENODEBAUTOPOWEROFF"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "ENODEBCIPHERCAP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "ENODEBCONNSTATETIMER"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "ENODEBFUNCTION"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "ENODEBINTEGRITYCAP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "ENODEBMLB"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "ENODEBPATH"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "ENODEBSHARINGMODE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "ENVALMPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "EP2RSCGRP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "EPGROUP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "EQMTOINVENTORYUNITHW"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "EQUIPMENT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "ETHIP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "ETHPORT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "ETHREDPORT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "ETHSWITCH"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "ETHTRK"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "ETHTRKIP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "ETHTRKLNK"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "EUCELLSECTOREQM"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "EUCOSCHCFG"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "EUSECTOREQMGROUP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "EUTRANEXTERNALCELL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "EUTRANINTERNFREQ"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "EUTRANINTRAFREQNCELL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "EVENTCHRCTRL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "FACFG"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "FACHSCHEPRIO"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "FANALMSW"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "FANSPEED"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "FCCOMMPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "FCCPUTHD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "FCMSGQTHD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "FCSW"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "FDDRESMODE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "filefooter"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "FMABUSYRULE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "FRMHANDPRIO"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "FTPCLTPORT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "FTPSCLT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "FTPSCLTDPORT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "FTPSRVSPD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "FTPSSRV"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "FUNCTION"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "G_ADJMAP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "G_ADJNODE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "G_IPPATH"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "G2GNCELL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "G3GARFCN"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "G3GNCELL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GAFCALMPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GALLCELLBLKSTAT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GBSCREDGRP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GBTSABISCP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GBTSENERGYMGTPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GBTSFUNCTION"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GBTSPATH"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELL2GBA1"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELL3GARFCN"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLAMRQUL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLBASICPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLBTSSOFT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLBTSSOFTPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLCCACCESS"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLCCAD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLCCAMR"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLCCBASIC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLCCCH"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLCCTMR"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLCCUTRANSYS"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLCHMGAD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLCHMGBASIC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLCONGACALGO"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLCSFBPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLDYNTURNOFF"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLEGPRSPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLEXTMSRPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLFREQ"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLFREQSCAN"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLGPRS"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLGSMR"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLHO2GBA2"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLHOAD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLHOBASIC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLHOCTRL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLHOEDBPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLHOEMG"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLHOFAST"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLHOFDDBA2"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLHOFITPEN"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLHOINTERRATLDB"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLHOIUO"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLHOPANT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLHOPTP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLHOTDDBA2"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLHOUTRANFDD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLHOUTRANTDD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLHSRPLCUSRIDFMG"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLIBCAII"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLIDLEAD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLIDLEBASIC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLIDLEFDDBA1"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLIDLETDDBA1"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLINNHOBASI"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLINNSOFT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLINNTMR"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLLCS"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLMAGRP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLMAIOPLAN"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLMOCN"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLNC2PARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLNCRESELECTPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLNONSTANDARDBW"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLNWCTRLMSRPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLOPTREV"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLOSPMAP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLOTHBASIC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLOTHEXT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLOTHPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLPRACH"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLPRIEUTRANSYS"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLPRIVATEOPTPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLPSABISPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLPSBASE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLPSCHM"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLPSCS"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLPSDIFFSERVICE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLPSI1"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLPSOTHERPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLPSPWPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLPSSMALLPKTRESBAL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLPWR2"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLPWR3"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLPWRBASIC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLRESELECTPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLRESELECTUTRANTDD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLRESELUTRANFDD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLRSVPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLSBC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLSERVPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLSOFT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLSON"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLSRVCC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLSTANDARDOPTPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLSTATOPTPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLTA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLTEMPLATE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLTEMPLATEPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLTEMPLATERSC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLTMR"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLTRANPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLUNDPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLVAMOS"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLVAMOSPWR"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCELLWLAN"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCNCFGALMTHD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCNNODE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCNOPERATOR"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCNOPERATORREV"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCSCHRCTRL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCSCHRSCOPE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GCSFILE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GDSSPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GDSSTM"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GERANEXTERNALCELL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GERANINTERFCFG"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GERANNCELL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GERANNFREQGROUP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GERANNFREQGROUPARFCN"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GEXT2GCELL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GEXT3GCELL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GEXTLTECELL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GEXTSMLC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GFORCESWITCH"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GHOSTSTATUS"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GKPIALMTHD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GLOBALPROCSWITCH"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GLOBALROUTESW"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GLOCELL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GLTENCELL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GMMCSCHRCTRL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GMMCSCHRSCOPE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GMMMRCTRL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GMMMRSCOPE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GMMPSCHRCTRL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GMMPSCHRSCOPE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GMRCTRL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GMRSCOPE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GNETAWARENESS"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GNODEREDCFGCTRL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GNODEREDUNDANCY"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GPSCHRCTRL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GPSCHRSCOPE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GPSKPIALMTHD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GREDGRPHOSTPOLICY"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GRSVPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GTPU"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GTRANSPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GTRX"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GTRXBASE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GTRXCHAN"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GTRXCHANHOP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GTRXDEV"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GTRXFC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GTRXGROUP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GTRXGROUPSECTOREQM"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GTRXHOP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GTRXIUO"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GTRXRLALM"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "GTRXRSVPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "HOMEASCOMM"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "HOSTLOGSPD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "IDRQTEST"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "IKECFG"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "IMAGRP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "IMALNK"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "IMBDYNTFS"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "IMBFACH"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "IMBSEMISTATICTF"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "IMBSWITCH"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "INFBRDRESCFG"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "INGCHKTSK"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "INNSOFTPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "INTBRDPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "INTERFREQHOGROUP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "INTERRATCELLSHUTDOWN"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "INTERRATHOCDMA1XRTTGROUP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "INTERRATHOCDMAHRPDGROUP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "INTERRATHOCOMM"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "INTERRATHOCOMMGROUP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "INTERRATHOGERANGROUP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "INTERRATHOUTRANGROUP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "INTERRATPOLICYCFGGROUP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "INTRAFREQHOGROUP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "INTRARATHOCOMM"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "INVENTORYBOARD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "INVENTORYBTSBOARD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "INVENTORYBTSFRAME"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "INVENTORYBTSHOSTVER"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "INVENTORYBTSRACK"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "INVENTORYBTSSLOT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "INVENTORYFRAME"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "INVENTORYHOSTVER"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "INVENTORYPORT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "INVENTORYRACK"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "INVENTORYSLOT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "INVENTORYUNITHW"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "IPCHK"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "IPCLKLNK"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "IPGUARD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "IPLOGICPORT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "IPMUX"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "IPOAPVC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "IPPATH"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "IPPMSESSION"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "IPPOOL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "IPPOOLIP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "IPPOOLPM"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "IPRT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "ITWKPIALMTHD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "IU_ADJMAP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "IU_ADJNODE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "IUB"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "IUBCP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "IUBTRIGHOPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "KPISELFCUREPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "L2L3ROUTEPOLICY"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "LAPDLINK"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "LDR"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "LICALMTHD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "LICPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "LICPOLICY"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "LOADEQ"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "LOCATION"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "LOCELLIDLISTTYPE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "LOCHPRIO"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "LODCTRL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "LOGLIMIT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "LOGPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "M3DE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "M3LE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "M3LKS"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "M3LNK"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "M3RT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "MAXDSPFLTNUM"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "MDTLCS"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "MIMOADAPTIVEPARACFG"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "MMEFEATURECFG"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "MNTMODE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "MOCNPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "MPGRP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "MPLNK"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "MRCTRL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "MRO"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "MRSCOPECTRL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "MSCH"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "MSCHDYNTFS"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "MSCHPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "MSGSOFTPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "MSP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "MTCHDYNTFS"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "MTP3LKS"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "MTP3LNK"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "MTP3RT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "MTP3TMR"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "N7DPC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "NBMINNERPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "NBMPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "NE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "NODE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "NODEBALGPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "NODEBEQUIPMENT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "NODEBFUNCTION"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "NODEBMULTICELLGRP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "NODEBOPTDYNADJPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "NODEBRESALLOCRULE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "NODEBSMTHPWR"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "NODEBTEMPLATERSC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "NODEBUEQOSENHANCE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "NODESYNCMONTHD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "NRIMSCMAP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "NRISGSNMAP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "NSE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "NSVLLOCAL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "OBJALMSHLD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "OBJAUTHSW"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "OMCH"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "OMUCOMMSVCSW"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "OMUETH"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "OMUPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "OMUPORT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "OPC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "OPLOCK"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "OPSW"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "OPT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "OSPWDPOLICY"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "OTHSOFTPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "PACKETFILTERALMPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "PCCHCFG"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "PDCPHEADCOMP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "PDCPROHCPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "PDSCHCFG"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "PERIODICRTTLCS"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "PHBMAP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "PHICHCFG"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "PORTFLOWCTRLPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "PORTOSCCTRLPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "PSPREFABISCONGCTRL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "PSUSRRESBIND"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "PTPBVC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "PUCCHCFG"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "PUSCHCFG"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "PUSCHPARAM"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "PWDPOLICY"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "PWRALMSW"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "PWRPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "QUEUEMAP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "RACHCFG"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "RDTLOGSWITCH"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "REFTIMEDIFF"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "RET"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "RETDEVICEDATA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "RETSUBUNIT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "RLCPDCPPARAGROUP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "RNCPOOLCFGCTRL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "RNCPOOLSYNCFLAG"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "RRCCONNSTATETIMER"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "RRINNERTIMER"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "RRMCDLCFG"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "RRRSVDPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "RRUJOINTCALPARACFG"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "RSCADJTIME"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "RSCGRP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "RSCGRPALG"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "RSVRES"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "RULELIBVER"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "S1"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "S1INTERFACE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "S1REESTTIMER"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "SAALLNK"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "SAUCENTER"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "SCCPTMR"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "SCTPHOST"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "SCTPHOSTREF"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "SCTPLNK"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "SCTPPEER"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "SCTPPEERREF"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "SCTPPROF"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "SCTPSRVPORT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "SCUPORT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "SDSECPOLICY"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "SECTOR"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "SECTORANTENNAREF"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "SECTOREQM"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "SECTOREQMANTENNAREF"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "SECTOREQMIDLISTTYPE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "SECTOREQMREFTYPE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "SELFCUREPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "SERVICEIFDLEARFCNGRP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "SERVICEIFHOCFGGROUP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "SERVICEIRHOCFGGROUP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "SGSN"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "SGSNNODE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "SHARETHD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "SIMULOAD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "SIRDISTOLPC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "SLFSLVSW"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "SNTPCLTPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "SNTPSRVINFO"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "SQICOUNT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "SRCIPRT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "SRCONPATH"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "SRSADAPTIVECFG"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "SRSCFG"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "SS7PATCHSWITCH"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "SSLAUTHMODE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "SSLCONF"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "SSLCS"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "STANDARDQCI"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "SUBNET"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "SUBRACK"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "SUBSESSION_NE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "SYNSWITCH"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "SYS"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "TACALG"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "TCEIPMAPPING"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "TCPACKCTRLALGO"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "TCPACKLIMITALG"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "TCPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "TCPMSSCTRL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "TCPOOLBSCID"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "TCRSVPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "TDDFRAMEOFFSET"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "TDDRESMODESWITCH"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "TGPSCP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "TIMEALIGNMENTTIMER"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "TNALMPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "TNLOADBALANCEPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "TNRSVDPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "TNSOFTPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "TOLCALG"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "TPEALGO"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "TRANSPATCHPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "TRANSPHYLNKPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "TRANSRSVPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "TRCLOGSPD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "TRMFACTOR"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "TRMLOADTH"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "TRMMAP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "TRUSTCERT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "TRXBIND2PHYBRD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "TYPDRBBSR"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "TZ"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "U2GNCELL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UACALGO"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UADAPALGOSWITCH"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UADMCTRL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UAICH"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UAMRC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UAMRCWB"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UBCH"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UCACALGOSWITCH"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UCALLSHOCKCTRL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UCCP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UCELL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UCELLACCESSSTRICT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UCELLALGOSWITCH"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UCELLCAC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UCELLCMCF"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UCELLDCCC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UCELLDISTANCEREDIRECTION"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UCELLDRD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UCELLDYNSHUTDOWN"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UCELLFRC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UCELLHCS"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UCELLHOCOMM"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UCELLHSDPA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UCELLHSDPCCH"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UCELLHSUPA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UCELLINTERFREQHOCOV"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UCELLINTERRATHOCOV"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UCELLINTERRATHONCOV"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UCELLINTRAFREQHO"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UCELLLDB"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UCELLLDM"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UCELLLDR"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UCELLLICENSE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UCELLMEAS"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UCELLNFREQPRIOINFO"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UCELLOLC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UCELLPUC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UCELLREDIRECTION"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UCELLRLACTTIME"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UCELLRLPWR"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UCELLSELRESEL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UCELLSIBSWITCH"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UCELLUPDTCTRLSWITCH"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UCELLURA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UCHLQUALITYEVALUATE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UCHPWROFFSET"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UCIDCHG"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UCLB"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UCMCF"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UCNDOMAIN"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UCNNODE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UCNOPERATOR"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UCNOPERGROUP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UCNTCHK"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UCOIFTIMER"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UCONNMODETIMER"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UCORRMALGOSWITCH"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UCORRMPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UCSVOICEPPC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UCTRLPLNSHAREPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UDCCC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UDISTANCEREDIRECTION"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UDPUCFGDATA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UDRD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UDRDMIMO"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UDSACAUTOALGO"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UDT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UDTPARAGRP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UDTXDRXPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UEDCHRATEADJUSTSET"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UEDCHTTIRECFG"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UETIMERCONST"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UEVQIPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UEXT2GCELL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UEXT3GCELL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UEXT3GCELLINTRAFREQHO"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UFACH"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UFACHBANDWIDTH"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UFACHDYNTFS"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UFACHLOCH"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UFDPCHPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UFDPCHRLPWR"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UFRC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UFRCCHLTYPEPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UHCSHO"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UHOCOMM"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UHSDPCCH"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UHSSCCHLESSOPPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UIDLEMODETIMER"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UIMSIIDNNSCNIDMAP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UINTERFREQHOCOV"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UINTERFREQHONCOV"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UINTERFREQNCELL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UINTERRATHOCOV"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UINTERRATHONCOV"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UINTRAFREQHO"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UINTRAFREQNCELL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UIPSERVICEQOS"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UIURGCONN"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UIUTIMERANDNUM"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UKPIALMTHD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "ULAC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "ULDCALGOPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "ULDCPERIOD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "ULDM"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "ULFLOWCTRLPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "ULOCELL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "ULOCELLALGPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "ULOCELLMACEPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "ULOCELLMACHSPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "ULOCELLRSCLMTPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "ULOCELLSECEQMGRP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "ULOCELLSECTOREQM"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "ULTECELL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "ULTENCELL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UMBMSALARMPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UMBMSFACH"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UMBMSPERF"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UMBMSSCCPCH"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UMBMSSWITCH"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UMBSCCRRM"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UMCCHPERIODCOEF"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UMCDRD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UMCLDR"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UMGWTST"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UMRSWITCH"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UMSCHFACH"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UMTCH"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UMTESTPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UMULTIRABHOCOV"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UNBSC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UNCELLDETECTSWITCH"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UNCP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UNILNK"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UNODEB"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UNODEBALGOPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UNODEBIP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UNODEBLDR"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UNODEBMNTMODE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UNODEBOLC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UNRIGLBCNIDMAP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UNRNC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UOLPC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UOPERATORCFGPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UOPERATORSHARINGMODE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UPCCPCH"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UPCH"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UPCHDYNTFS"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UPCPICH"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UPICH"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UPOOLLOADSHAREPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UPOOLPRIMHOSTPOLICY"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UPOOLREDUNDANCY"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UPRACHACTOASCMAP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UPRACHASC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UPRACHBASIC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UPRACHSLOTFORMAT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UPRACHTFC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UPSCH"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UPSINACTTIMER"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UPTTPARAM"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UPTTSTATETRANS"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UQOSACT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UQOSALGOPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UQOSHO"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UQUALITYMEAS"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UQUEUEPREEMPT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "URAC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "URACH"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "URACHDYNTFS"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "URACHMEASUREPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UREDIRECTION"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "URNCBASIC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "URNCCBPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "URNCCELLSHUTDOWNPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "URNCINPOOLRRMALGO"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "URNCMBMSPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "URRCESTCAUSE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "URRCTRLSWITCH"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "USAC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "USATLDCPERIOD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "USATLDM"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "USCCPCHBASIC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "USCCPCHTFC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "USCHEDULEPRIOMAP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "USEREVTRTNPOLICY"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "USERPLANEHOST"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "USERPLANEHOSTREF"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "USERPLANEPEER"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "USERPLANEPEERREF"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "USERVMEAPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "USMLC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "USMLCCELL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "USMLCEXT3GCELL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "USPG"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "USPIWEIGHT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "USRBRATECOVSEL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "USRNSR"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "USRRESBIND"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "USSCH"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "USTATETIMER"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UTHPCLASS"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UTRANEXTERNALCELL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UTRANNCELL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UTRANNFREQ"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UU2LTEHOCOV"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UU2LTEHONCOV"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UUEA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UUESTATETRANS"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UUESTATETRANSTIMER"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UUIA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UUPALGOSWITCH"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UURA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UUSERGBR"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UUSERHAPPYBR"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UUSERMBR"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UUSERPLNSHAREPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UUSERPRIORITY"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UVIPIMSI"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UVIRTUALGRID"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UWPSALGO"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UX2CTRLPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "VLANCLASS"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "VLANID"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "VLANMAP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "VIPTRACESW"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "VQMALGO"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "VRF"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "WEBLMT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "WEBLOGINPOLICY"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "WLOCALIP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "X2"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "X2BLACKWHITELIST"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "X2INTERFACE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "XPUPORT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "XPUVLAN"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "TRANSCFGSPEC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "TRANSCHKPOLICY"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "TRPCHKPOLICY"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UTYPRABBASIC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UTYPRABDCCCMC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "TYPRABDYNTF"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UTYPRABHSPA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "TYPRABHSUPAPC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UTYPRABOLPC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UTYPRABQUALITYMEAS"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UTYPRABRLC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UTYPRABSEMISTATICTF"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "TYPRABSUBFLOW"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "TYPRABTOAW"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "TYPSRBBASIC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "TYPSRBDYNTF"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "TYPSRBHSPA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "TYPSRBHSUPAPC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "TYPSRBOLPC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "TYPSRBRLC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "TYPSRBSEMISTATICTF"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "TYPSRBTOAW"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UABNORMTEDETECT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UADPETADJCTRL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UALGORSVPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UALGORSVPARAPHY"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UALMTHD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UALWAYSHDVOICE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UAMRBLACKBOXCTRL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UANRPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UARPTOPRIOMAP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UBLACKBOXSWITCH"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UCAMPSTRATFORMASS"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UCELLADAPTRACH"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UCELLALGORSVPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UCELLCOALGOENHPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UCELLCONGACALGO"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UCELLCONNALGOPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UCELLCONNREDIR"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UCHRRPTTYPE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UCHRSTORE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UCNNODERSVPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UCOCOVERAGE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UDCHENHPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UDEUCFGDATA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UDEURSVPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UEKPIPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UEVENTCHRFCCPUTHD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UEVENTCHRSWITCH"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UFACHCFGPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UHHONCELLPAOPT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UINTERBANDLOADBLANCE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UINTERBANDSCENDYNOPT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UINTRANCELLPAOPT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UIOPTATOMRULE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UIOPTFEATURE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UIOPTFUNCTION"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UIOPTRULE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UIOPTRULELINKRELAT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UIOPTRULEMEMBER"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UL2RSVPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UMMCHRRPTTYPE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UMMCHRSCOPE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UMMEVENTCHRCTRL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UMMMRCTRL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UMMMRSCOPE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UMMRNCCHRSCOPE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UMMRNCMRSCOPE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UMONDEVGRPID"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UNBMPHYPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UNETAWARENESS"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UNIUCFGDATA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UNIURSVPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UNODEBALGORSVPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UNODEPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UNRNCRSVPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UPCHRCFG"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UPOOLRELIABILITYPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "URLPWROFFSET"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "URNCCHRSCOPE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "URNCMRSCOPE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "URNCTIMEPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "URRCTRLPHYSWITCH"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "URRLOGPRINTSWITCH"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "USCENARIO"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "USCENARIOIDENTIFY"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "USCENARIORULE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "USCENARIORULEMEMBER"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "USCHEDULEPRIOMAPEX"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "USEREXPESTIMATE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "USEREXPTHD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "USERVFCPRIO"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "USERVMEARANGE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UTRACECTRL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UTYPSRBDCHRNCRLC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UUECAPREDIRECTION"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UULTRAFASTCSACCESS"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UUPCTRLSWITCH"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UUPRSVPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UUPTSSWITCH"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UUSERGBREX"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UUSERINTEGPRIO"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UUUBOOST"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UVIDEOACCELERATION"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UVIDEOSHAPING"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "ALGOSWITCH"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "ALMCFG"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "ALMOBJMASKCFG"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "ALMPORT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "ANRMEASUREPARAM"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "ANTENNAPORT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "APPLICATION"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "ASPARAGROUP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "AUTOPOWEROFF"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BBP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BBUFAN"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BLINDNCELLOPT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "BRDRESASSIGNMENT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CABINET"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CASCADEPORT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CELLBACKOFF"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CELLCECFG"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CELLCESCHCFG"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CELLCOUNTERPARAGROUP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CELLEICIC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CELLMLBUESEL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CELLMLBAUTOGROUP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CELLEABALGOPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CELLMBFCS"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CELLIICSPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CELLLCSCFG"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CELLDYNPOWERSHARING"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CELLEMTCALGO"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CELLDRXSPECIALPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CELLDACQCFG"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CELLCSIRSPARACFG"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CELLCQIADJALGO"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "CELLCQIADAPTIVECFG"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "ASWPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "OMUIPRT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UCAPARATERANGE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UCBSADDR"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UCBSIUBCITFTIMER"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UCDRFILE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UCELLCBSDRX"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UCELLCBSSAC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UCERRMTIMER"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UCHRCTRL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UCHRSCOPE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UCTCH"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UCTRLPLNFCPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UDCHTHDRATERATIO"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UDPB"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UDSSPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UE2EQOSPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UEDCHTHDRATERATIO"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UEVENTCHRCTRL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UGTPU"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UIMBFACH"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UIMBSWITCH"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UIUBTRIGHOPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UKPISELFCUREPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "ULOCHPRIO"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UMRCTRL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UMRSCOPE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UNBMPARA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UPERIODICRTTLCS"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "URNCPOOLCFGCTRL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "USIRDISTOLPC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "USQICOUNT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UTGPSCP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UTYPRABDYNTF"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UTYPRABHSUPAPC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UTYPRABSUBFLOW"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UTYPRABTOAW"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UTYPSRBBASIC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UTYPSRBDYNTF"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UTYPSRBHSPA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UTYPSRBHSUPAPC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UTYPSRBOLPC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UTYPSRBRLC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UTYPSRBSEMISTATICTF"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UTYPSRBTOAW"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "huawei_cm", name: "UVIPTRACESW"}, {id: "id", load_datetime: "load_datetime", data: "data"}); +}; + +exports.down = (pgm) => { + pgm.noTransaction(); + + pgm.dropTable({schema: "huawei_cm", name: '2GHASHKEY'}); + pgm.dropTable({schema: "huawei_cm", name: '2GUSERIDANONSWITCH'}); + pgm.dropTable({schema: "huawei_cm", name: '3GHASHKEY'}); + pgm.dropTable({schema: "huawei_cm", name: '3GUSERIDANONSWITCH'}); + pgm.dropTable({schema: "huawei_cm", name: 'AAL2NODE'}); + pgm.dropTable({schema: "huawei_cm", name: 'AAL2PATH'}); + pgm.dropTable({schema: "huawei_cm", name: 'AAL2RT'}); + pgm.dropTable({schema: "huawei_cm", name: 'AAL2TMR'}); + pgm.dropTable({schema: "huawei_cm", name: 'ABIS'}); + pgm.dropTable({schema: "huawei_cm", name: 'ABISE1T1'}); + pgm.dropTable({schema: "huawei_cm", name: 'ADJMAP'}); + pgm.dropTable({schema: "huawei_cm", name: 'ADJNODE'}); + pgm.dropTable({schema: "huawei_cm", name: 'AE1T1'}); + pgm.dropTable({schema: "huawei_cm", name: 'AITFOTHPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'AITFREV'}); + pgm.dropTable({schema: "huawei_cm", name: 'ALGCTRLPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'ALGODEFAULTPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'ALMBLKPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'ALMBLKSW'}); + pgm.dropTable({schema: "huawei_cm", name: 'ALMCAPACITY'}); + pgm.dropTable({schema: "huawei_cm", name: 'ALMLVL'}); + pgm.dropTable({schema: "huawei_cm", name: 'ALMML'}); + pgm.dropTable({schema: "huawei_cm", name: 'ALMOSCISW'}); + pgm.dropTable({schema: "huawei_cm", name: 'ALMOSCITHRD'}); + pgm.dropTable({schema: "huawei_cm", name: 'ALMSCRN'}); + pgm.dropTable({schema: "huawei_cm", name: 'ALMSHLD'}); + pgm.dropTable({schema: "huawei_cm", name: 'ANR'}); + pgm.dropTable({schema: "huawei_cm", name: 'APPCERT'}); + pgm.dropTable({schema: "huawei_cm", name: 'ATESTPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'ATMTRF'}); + pgm.dropTable({schema: "huawei_cm", name: 'BAMIPRT'}); + pgm.dropTable({schema: "huawei_cm", name: 'BASEBANDEQM'}); + pgm.dropTable({schema: "huawei_cm", name: 'BASEBANDEQMBOARDREF'}); + pgm.dropTable({schema: "huawei_cm", name: 'BCCHCFG'}); + pgm.dropTable({schema: "huawei_cm", name: 'BEDLPWRDIFF'}); + pgm.dropTable({schema: "huawei_cm", name: 'BFDPROTOSW'}); + pgm.dropTable({schema: "huawei_cm", name: 'BFMIMOADAPTIVEPARACFG'}); + pgm.dropTable({schema: "huawei_cm", name: 'BOXRPT'}); + pgm.dropTable({schema: "huawei_cm", name: 'BRD'}); + pgm.dropTable({schema: "huawei_cm", name: 'BRDSTALMSHLD'}); + pgm.dropTable({schema: "huawei_cm", name: 'BSCAISS'}); + pgm.dropTable({schema: "huawei_cm", name: 'BSCAITFTMR'}); + pgm.dropTable({schema: "huawei_cm", name: 'BSCBASIC'}); + pgm.dropTable({schema: "huawei_cm", name: 'BSCDSTPA'}); + pgm.dropTable({schema: "huawei_cm", name: 'BSCEXSOFTPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'BSCFCPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'BSCINNSOFT'}); + pgm.dropTable({schema: "huawei_cm", name: 'BSCINNTMR'}); + pgm.dropTable({schema: "huawei_cm", name: 'BSCJBF'}); + pgm.dropTable({schema: "huawei_cm", name: 'BSCNSPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'BSCPCUTYPE'}); + pgm.dropTable({schema: "huawei_cm", name: 'BSCPSINNERSOFTPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'BSCPSGBPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'BSCPSSOFTPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'BSCPSSTAT'}); + pgm.dropTable({schema: "huawei_cm", name: 'BSCPSTCDSCPMAP'}); + pgm.dropTable({schema: "huawei_cm", name: 'BSCPSUMPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'BSCSIGTRC'}); + pgm.dropTable({schema: "huawei_cm", name: 'BSCSTATATTR'}); + pgm.dropTable({schema: "huawei_cm", name: 'BSCTESTPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'BSCTMR'}); + pgm.dropTable({schema: "huawei_cm", name: 'BSCUDBO'}); + pgm.dropTable({schema: "huawei_cm", name: 'BSSGPPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'BSSLS'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTS'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSABISMUXFLOW'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSABISPRIMAP'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSABISTROP'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSAISS'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSALM'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSALMFLASHTHD'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSALMFLASHTW'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSALMPORT'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSANTFEEDERBRD'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSANTFEEDERCONNECT'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSAPMUBP'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSAPPCERT'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSAUTODLDACTINFO'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSBAKPWR'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSBBMODE'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSBINDLOCGRP'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSBRD'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSBRDCAP'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSBREAKPOINT'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSBWPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSCABINET'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSCABPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSCELLPATCHPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSCERTCHKTSK'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSCERTDEPLOY'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSCERTMK'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSCERTREQ'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSCHNFALLBACK'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSCHRFILTER'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSCLK'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSCONNECT'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSCPRIPORT'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSCRC4'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSCRLPOLICY'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSCTRLEX'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSCTRLLNK'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSDDPUBP'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSDEMUBP'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSDEVIP'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSDHCPSVRIP'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSDHEUBP'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSDSCPMAP'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSDTMUBP'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSE1T1BER'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSEAMRC'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSENVALMPORT'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSEQUIPMENT'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSESN'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSETHOAM'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSETHOAMAH'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSETHPORT'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSEXD'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSFALLBACK'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSFCUPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSFLEXABISPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSFMUABP'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSGTRANSPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSGUPWRSHRFP'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSIDLETS'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSIKECFG'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSINTRXUSPEC'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSIP'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSIPCLKPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSIPGUARD'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSIPRT'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSJBF'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSLAPDWS'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSLLDPGLOBAL'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSLNKBKATTR'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSLOCALETHPORT'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSLOCALUSBPORT'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSLOCGRP'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSLOCKBCCH'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSLR'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSLSW'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSMNTMODE'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSMPGRP'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSMPLNK'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSNFCBBP'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSOMLBACKUP'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSOMLDETECT'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSOMLTS'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSOTHPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSOUTPUT'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSPATCHPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSPINGSW'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSPOWERTYPE'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSPLRALM'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSPSUFP'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSPWRSHARE'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSPWRTYPE'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSRELIALOGSWITCH'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSRET'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSRETDEVICEDATA'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSRETSUBUNIT'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSRINGATTR'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSRSTINFOEFFECT'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSRSTLIST'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSRSV'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSTRXBRD'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSRXU2LOCGRP'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSRXUBP'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSRXUBRD'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSRXUCHAIN'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSSHARING'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSTEMPLATERSC'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSTHEFTALM'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSTMA'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSTMADEVICEDATA'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSTMASUBUNIT'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSTRANS'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSTRCMPR'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSTRUSTCERT'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSTRXBACKUP'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSVLAN'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSXFC'}); + pgm.dropTable({schema: "huawei_cm", name: 'BTSXMUFP'}); + pgm.dropTable({schema: "huawei_cm", name: 'CAB'}); + pgm.dropTable({schema: "huawei_cm", name: 'CAMGTCFG'}); + pgm.dropTable({schema: "huawei_cm", name: 'CAPARATERANGE'}); + pgm.dropTable({schema: "huawei_cm", name: 'CBSIUBCITFTIMER'}); + pgm.dropTable({schema: "huawei_cm", name: 'CCGN'}); + pgm.dropTable({schema: "huawei_cm", name: 'CDRFILE'}); + pgm.dropTable({schema: "huawei_cm", name: 'CELL'}); + pgm.dropTable({schema: "huawei_cm", name: 'CELLACBAR'}); + pgm.dropTable({schema: "huawei_cm", name: 'CELLACCESS'}); + pgm.dropTable({schema: "huawei_cm", name: 'CELLALGOSWITCH'}); + pgm.dropTable({schema: "huawei_cm", name: 'CELLAUTOHOMING'}); + pgm.dropTable({schema: "huawei_cm", name: 'CELLBF'}); + pgm.dropTable({schema: "huawei_cm", name: 'CELLBFMIMOPARACFG'}); + pgm.dropTable({schema: "huawei_cm", name: 'CELLBIND2BTS'}); + pgm.dropTable({schema: "huawei_cm", name: 'CELLCBS'}); + pgm.dropTable({schema: "huawei_cm", name: 'CELLCHPWRCFG'}); + pgm.dropTable({schema: "huawei_cm", name: 'CELLCSPCPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'CELLDLCOMPALGO'}); + pgm.dropTable({schema: "huawei_cm", name: 'CELLDLICIC'}); + pgm.dropTable({schema: "huawei_cm", name: 'CELLDLICICMCPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'CELLDLPCPDCCH'}); + pgm.dropTable({schema: "huawei_cm", name: 'CELLDLPCPDSCH'}); + pgm.dropTable({schema: "huawei_cm", name: 'CELLDLPCPDSCHPA'}); + pgm.dropTable({schema: "huawei_cm", name: 'CELLDLPCPHICH'}); + pgm.dropTable({schema: "huawei_cm", name: 'CELLDLSCHALGO'}); + pgm.dropTable({schema: "huawei_cm", name: 'CELLDRXPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'CELLDSS'}); + pgm.dropTable({schema: "huawei_cm", name: 'CELLDYNACBARALGOPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'CELLERACH'}); + pgm.dropTable({schema: "huawei_cm", name: 'CELLGLDSS'}); + pgm.dropTable({schema: "huawei_cm", name: 'CELLHOPARACFG'}); + pgm.dropTable({schema: "huawei_cm", name: 'CELLIDPRDUPT'}); + pgm.dropTable({schema: "huawei_cm", name: 'CELLLOWPOWER'}); + pgm.dropTable({schema: "huawei_cm", name: 'CELLMBMSCFG'}); + pgm.dropTable({schema: "huawei_cm", name: 'CELLMCPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'CELLMIMO'}); + pgm.dropTable({schema: "huawei_cm", name: 'CELLMIMOPARACFG'}); + pgm.dropTable({schema: "huawei_cm", name: 'CELLMLB'}); + pgm.dropTable({schema: "huawei_cm", name: 'CELLMLBHO'}); + pgm.dropTable({schema: "huawei_cm", name: 'CELLMRO'}); + pgm.dropTable({schema: "huawei_cm", name: 'CELLNOACCESSALMPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'CELLOP'}); + pgm.dropTable({schema: "huawei_cm", name: 'CELLPCALGO'}); + pgm.dropTable({schema: "huawei_cm", name: 'CELLPDCCHALGO'}); + pgm.dropTable({schema: "huawei_cm", name: 'CELLPUCCHALGO'}); + pgm.dropTable({schema: "huawei_cm", name: 'CELLRACHALGO'}); + pgm.dropTable({schema: "huawei_cm", name: 'CELLRACTHD'}); + pgm.dropTable({schema: "huawei_cm", name: 'CELLRESEL'}); + pgm.dropTable({schema: "huawei_cm", name: 'CELLRESELGERAN'}); + pgm.dropTable({schema: "huawei_cm", name: 'CELLRESELUTRAN'}); + pgm.dropTable({schema: "huawei_cm", name: 'CELLRFSHUTDOWN'}); + pgm.dropTable({schema: "huawei_cm", name: 'CELLRICALGO'}); + pgm.dropTable({schema: "huawei_cm", name: 'CELLSEL'}); + pgm.dropTable({schema: "huawei_cm", name: 'CELLSERVICEDIFFCFG'}); + pgm.dropTable({schema: "huawei_cm", name: 'CELLSHUTDOWN'}); + pgm.dropTable({schema: "huawei_cm", name: 'CELLSIMAP'}); + pgm.dropTable({schema: "huawei_cm", name: 'CELLSTANDARDQCI'}); + pgm.dropTable({schema: "huawei_cm", name: 'CELLTEMPLATERSC'}); + pgm.dropTable({schema: "huawei_cm", name: 'CELLULCOMPALGO'}); + pgm.dropTable({schema: "huawei_cm", name: 'CELLULICIC'}); + pgm.dropTable({schema: "huawei_cm", name: 'CELLULICICMCPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'CELLULPCCOMM'}); + pgm.dropTable({schema: "huawei_cm", name: 'CELLULPCDEDIC'}); + pgm.dropTable({schema: "huawei_cm", name: 'CELLULSCHALGO'}); + pgm.dropTable({schema: "huawei_cm", name: 'CERRMTIMER'}); + pgm.dropTable({schema: "huawei_cm", name: 'CERTCHKTSK'}); + pgm.dropTable({schema: "huawei_cm", name: 'CERTDEPLOY'}); + pgm.dropTable({schema: "huawei_cm", name: 'CERTMK'}); + pgm.dropTable({schema: "huawei_cm", name: 'CERTREQ'}); + pgm.dropTable({schema: "huawei_cm", name: 'CFGCHK'}); + pgm.dropTable({schema: "huawei_cm", name: 'CHGTHRSHOLD'}); + pgm.dropTable({schema: "huawei_cm", name: 'CHRRNCCTRL'}); + pgm.dropTable({schema: "huawei_cm", name: 'CHRSCOPECTRL'}); + pgm.dropTable({schema: "huawei_cm", name: 'CLK'}); + pgm.dropTable({schema: "huawei_cm", name: 'CLKMODE'}); + pgm.dropTable({schema: "huawei_cm", name: 'CLKSRC'}); + pgm.dropTable({schema: "huawei_cm", name: 'CNOPERATOR'}); + pgm.dropTable({schema: "huawei_cm", name: 'CNOPERATORHOCFG'}); + pgm.dropTable({schema: "huawei_cm", name: 'CNOPERATORIPPATH'}); + pgm.dropTable({schema: "huawei_cm", name: 'CNOPERATORSTANDARDQCI'}); + pgm.dropTable({schema: "huawei_cm", name: 'CNOPERATORTA'}); + pgm.dropTable({schema: "huawei_cm", name: 'CNOPEREXTPLMN'}); + pgm.dropTable({schema: "huawei_cm", name: 'COMMONFUNCTION'}); + pgm.dropTable({schema: "huawei_cm", name: 'CONFIGURE'}); + pgm.dropTable({schema: "huawei_cm", name: 'CONNTYPE'}); + pgm.dropTable({schema: "huawei_cm", name: 'COPTLNK'}); + pgm.dropTable({schema: "huawei_cm", name: 'COUNTERCHECKPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'CPBEARER'}); + pgm.dropTable({schema: "huawei_cm", name: 'CPUTHD'}); + pgm.dropTable({schema: "huawei_cm", name: 'CQIADAPTIVECFG'}); + pgm.dropTable({schema: "huawei_cm", name: 'CRLPOLICY'}); + pgm.dropTable({schema: "huawei_cm", name: 'CSFALLBACKBLINDHOCFG'}); + pgm.dropTable({schema: "huawei_cm", name: 'CSFALLBACKHO'}); + pgm.dropTable({schema: "huawei_cm", name: 'CSFALLBACKPOLICYCFG'}); + pgm.dropTable({schema: "huawei_cm", name: 'CSPCALGOPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'CSPRECTRL'}); + pgm.dropTable({schema: "huawei_cm", name: 'CTFTST'}); + pgm.dropTable({schema: "huawei_cm", name: 'CTRLFACTOR'}); + pgm.dropTable({schema: "huawei_cm", name: 'CTRLPLNFCPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'DCHTHDRATERATIO'}); + pgm.dropTable({schema: "huawei_cm", name: 'DELAYCLASS'}); + pgm.dropTable({schema: "huawei_cm", name: 'DELAYUPDATE'}); + pgm.dropTable({schema: "huawei_cm", name: 'DEVIP'}); + pgm.dropTable({schema: "huawei_cm", name: 'DEVRSVDPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'DEVSOFTPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'DHCPRELAYSWITCH'}); + pgm.dropTable({schema: "huawei_cm", name: 'DHCPSVRIP'}); + pgm.dropTable({schema: "huawei_cm", name: 'DIFPRI'}); + pgm.dropTable({schema: "huawei_cm", name: 'DISTBASEDHO'}); + pgm.dropTable({schema: "huawei_cm", name: 'DLFLOWCTRLPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'DPB'}); + pgm.dropTable({schema: "huawei_cm", name: 'DRX'}); + pgm.dropTable({schema: "huawei_cm", name: 'DRXPARAGROUP'}); + pgm.dropTable({schema: "huawei_cm", name: 'DSCPMAP'}); + pgm.dropTable({schema: "huawei_cm", name: 'DSP'}); + pgm.dropTable({schema: "huawei_cm", name: 'DSPLVDSMODE'}); + pgm.dropTable({schema: "huawei_cm", name: 'DSSPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'DXX'}); + pgm.dropTable({schema: "huawei_cm", name: 'DXXCONNECT'}); + pgm.dropTable({schema: "huawei_cm", name: 'DXXTSEXGRELATION'}); + pgm.dropTable({schema: "huawei_cm", name: 'E1T1'}); + pgm.dropTable({schema: "huawei_cm", name: 'E1T1BEAR'}); + pgm.dropTable({schema: "huawei_cm", name: 'E2EQOSPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'EDCHTHDRATERATIO'}); + pgm.dropTable({schema: "huawei_cm", name: 'EMC'}); + pgm.dropTable({schema: "huawei_cm", name: 'EMSIP'}); + pgm.dropTable({schema: "huawei_cm", name: 'EMSTZ'}); + pgm.dropTable({schema: "huawei_cm", name: 'ENODEBALGOSWITCH'}); + pgm.dropTable({schema: "huawei_cm", name: 'ENODEBAUTOPOWEROFF'}); + pgm.dropTable({schema: "huawei_cm", name: 'ENODEBCIPHERCAP'}); + pgm.dropTable({schema: "huawei_cm", name: 'ENODEBCONNSTATETIMER'}); + pgm.dropTable({schema: "huawei_cm", name: 'ENODEBFUNCTION'}); + pgm.dropTable({schema: "huawei_cm", name: 'ENODEBINTEGRITYCAP'}); + pgm.dropTable({schema: "huawei_cm", name: 'ENODEBMLB'}); + pgm.dropTable({schema: "huawei_cm", name: 'ENODEBPATH'}); + pgm.dropTable({schema: "huawei_cm", name: 'ENODEBSHARINGMODE'}); + pgm.dropTable({schema: "huawei_cm", name: 'ENVALMPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'EP2RSCGRP'}); + pgm.dropTable({schema: "huawei_cm", name: 'EPGROUP'}); + pgm.dropTable({schema: "huawei_cm", name: 'EQMTOINVENTORYUNITHW'}); + pgm.dropTable({schema: "huawei_cm", name: 'EQUIPMENT'}); + pgm.dropTable({schema: "huawei_cm", name: 'ETHIP'}); + pgm.dropTable({schema: "huawei_cm", name: 'ETHPORT'}); + pgm.dropTable({schema: "huawei_cm", name: 'ETHREDPORT'}); + pgm.dropTable({schema: "huawei_cm", name: 'ETHSWITCH'}); + pgm.dropTable({schema: "huawei_cm", name: 'ETHTRK'}); + pgm.dropTable({schema: "huawei_cm", name: 'ETHTRKIP'}); + pgm.dropTable({schema: "huawei_cm", name: 'ETHTRKLNK'}); + pgm.dropTable({schema: "huawei_cm", name: 'EUCELLSECTOREQM'}); + pgm.dropTable({schema: "huawei_cm", name: 'EUCOSCHCFG'}); + pgm.dropTable({schema: "huawei_cm", name: 'EUSECTOREQMGROUP'}); + pgm.dropTable({schema: "huawei_cm", name: 'EUTRANEXTERNALCELL'}); + pgm.dropTable({schema: "huawei_cm", name: 'EUTRANINTERNFREQ'}); + pgm.dropTable({schema: "huawei_cm", name: 'EUTRANINTRAFREQNCELL'}); + pgm.dropTable({schema: "huawei_cm", name: 'EVENTCHRCTRL'}); + pgm.dropTable({schema: "huawei_cm", name: 'FACFG'}); + pgm.dropTable({schema: "huawei_cm", name: 'FACHSCHEPRIO'}); + pgm.dropTable({schema: "huawei_cm", name: 'FANALMSW'}); + pgm.dropTable({schema: "huawei_cm", name: 'FANSPEED'}); + pgm.dropTable({schema: "huawei_cm", name: 'FCCOMMPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'FCCPUTHD'}); + pgm.dropTable({schema: "huawei_cm", name: 'FCMSGQTHD'}); + pgm.dropTable({schema: "huawei_cm", name: 'FCSW'}); + pgm.dropTable({schema: "huawei_cm", name: 'FDDRESMODE'}); + pgm.dropTable({schema: "huawei_cm", name: 'filefooter'}); + pgm.dropTable({schema: "huawei_cm", name: 'FMABUSYRULE'}); + pgm.dropTable({schema: "huawei_cm", name: 'FRMHANDPRIO'}); + pgm.dropTable({schema: "huawei_cm", name: 'FTPCLTPORT'}); + pgm.dropTable({schema: "huawei_cm", name: 'FTPSCLT'}); + pgm.dropTable({schema: "huawei_cm", name: 'FTPSCLTDPORT'}); + pgm.dropTable({schema: "huawei_cm", name: 'FTPSRVSPD'}); + pgm.dropTable({schema: "huawei_cm", name: 'FTPSSRV'}); + pgm.dropTable({schema: "huawei_cm", name: 'FUNCTION'}); + pgm.dropTable({schema: "huawei_cm", name: 'G_ADJMAP'}); + pgm.dropTable({schema: "huawei_cm", name: 'G_ADJNODE'}); + pgm.dropTable({schema: "huawei_cm", name: 'G_IPPATH'}); + pgm.dropTable({schema: "huawei_cm", name: 'G2GNCELL'}); + pgm.dropTable({schema: "huawei_cm", name: 'G3GARFCN'}); + pgm.dropTable({schema: "huawei_cm", name: 'G3GNCELL'}); + pgm.dropTable({schema: "huawei_cm", name: 'GAFCALMPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'GALLCELLBLKSTAT'}); + pgm.dropTable({schema: "huawei_cm", name: 'GBSCREDGRP'}); + pgm.dropTable({schema: "huawei_cm", name: 'GBTSABISCP'}); + pgm.dropTable({schema: "huawei_cm", name: 'GBTSENERGYMGTPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'GBTSFUNCTION'}); + pgm.dropTable({schema: "huawei_cm", name: 'GBTSPATH'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELL'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELL2GBA1'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELL3GARFCN'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLAMRQUL'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLBASICPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLBTSSOFT'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLBTSSOFTPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLCCACCESS'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLCCAD'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLCCAMR'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLCCBASIC'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLCCCH'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLCCTMR'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLCCUTRANSYS'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLCHMGAD'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLCHMGBASIC'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLCONGACALGO'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLCSFBPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLDYNTURNOFF'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLEGPRSPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLEXTMSRPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLFREQ'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLFREQSCAN'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLGPRS'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLGSMR'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLHO2GBA2'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLHOAD'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLHOBASIC'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLHOCTRL'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLHOEDBPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLHOEMG'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLHOFAST'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLHOFDDBA2'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLHOFITPEN'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLHOINTERRATLDB'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLHOIUO'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLHOPANT'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLHOPTP'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLHOTDDBA2'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLHOUTRANFDD'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLHOUTRANTDD'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLHSRPLCUSRIDFMG'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLIBCAII'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLIDLEAD'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLIDLEBASIC'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLIDLEFDDBA1'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLIDLETDDBA1'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLINNHOBASI'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLINNSOFT'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLINNTMR'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLLCS'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLMAGRP'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLMAIOPLAN'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLMOCN'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLNC2PARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLNCRESELECTPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLNONSTANDARDBW'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLNWCTRLMSRPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLOPTREV'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLOSPMAP'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLOTHBASIC'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLOTHEXT'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLOTHPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLPRACH'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLPRIEUTRANSYS'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLPRIVATEOPTPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLPSABISPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLPSBASE'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLPSCHM'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLPSCS'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLPSDIFFSERVICE'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLPSI1'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLPSOTHERPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLPSPWPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLPSSMALLPKTRESBAL'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLPWR2'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLPWR3'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLPWRBASIC'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLRESELECTPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLRESELECTUTRANTDD'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLRESELUTRANFDD'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLRSVPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLSBC'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLSERVPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLSOFT'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLSON'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLSRVCC'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLSTANDARDOPTPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLSTATOPTPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLTA'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLTEMPLATE'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLTEMPLATEPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLTEMPLATERSC'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLTMR'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLTRANPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLUNDPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLVAMOS'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLVAMOSPWR'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCELLWLAN'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCNCFGALMTHD'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCNNODE'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCNOPERATOR'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCNOPERATORREV'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCSCHRCTRL'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCSCHRSCOPE'}); + pgm.dropTable({schema: "huawei_cm", name: 'GCSFILE'}); + pgm.dropTable({schema: "huawei_cm", name: 'GDSSPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'GDSSTM'}); + pgm.dropTable({schema: "huawei_cm", name: 'GERANEXTERNALCELL'}); + pgm.dropTable({schema: "huawei_cm", name: 'GERANINTERFCFG'}); + pgm.dropTable({schema: "huawei_cm", name: 'GERANNCELL'}); + pgm.dropTable({schema: "huawei_cm", name: 'GERANNFREQGROUP'}); + pgm.dropTable({schema: "huawei_cm", name: 'GERANNFREQGROUPARFCN'}); + pgm.dropTable({schema: "huawei_cm", name: 'GEXT2GCELL'}); + pgm.dropTable({schema: "huawei_cm", name: 'GEXT3GCELL'}); + pgm.dropTable({schema: "huawei_cm", name: 'GEXTLTECELL'}); + pgm.dropTable({schema: "huawei_cm", name: 'GEXTSMLC'}); + pgm.dropTable({schema: "huawei_cm", name: 'GFORCESWITCH'}); + pgm.dropTable({schema: "huawei_cm", name: 'GHOSTSTATUS'}); + pgm.dropTable({schema: "huawei_cm", name: 'GKPIALMTHD'}); + pgm.dropTable({schema: "huawei_cm", name: 'GLOBALPROCSWITCH'}); + pgm.dropTable({schema: "huawei_cm", name: 'GLOBALROUTESW'}); + pgm.dropTable({schema: "huawei_cm", name: 'GLOCELL'}); + pgm.dropTable({schema: "huawei_cm", name: 'GLTENCELL'}); + pgm.dropTable({schema: "huawei_cm", name: 'GMMCSCHRCTRL'}); + pgm.dropTable({schema: "huawei_cm", name: 'GMMCSCHRSCOPE'}); + pgm.dropTable({schema: "huawei_cm", name: 'GMMMRCTRL'}); + pgm.dropTable({schema: "huawei_cm", name: 'GMMMRSCOPE'}); + pgm.dropTable({schema: "huawei_cm", name: 'GMMPSCHRCTRL'}); + pgm.dropTable({schema: "huawei_cm", name: 'GMMPSCHRSCOPE'}); + pgm.dropTable({schema: "huawei_cm", name: 'GMRCTRL'}); + pgm.dropTable({schema: "huawei_cm", name: 'GMRSCOPE'}); + pgm.dropTable({schema: "huawei_cm", name: 'GNETAWARENESS'}); + pgm.dropTable({schema: "huawei_cm", name: 'GNODEREDCFGCTRL'}); + pgm.dropTable({schema: "huawei_cm", name: 'GNODEREDUNDANCY'}); + pgm.dropTable({schema: "huawei_cm", name: 'GPSCHRCTRL'}); + pgm.dropTable({schema: "huawei_cm", name: 'GPSCHRSCOPE'}); + pgm.dropTable({schema: "huawei_cm", name: 'GPSKPIALMTHD'}); + pgm.dropTable({schema: "huawei_cm", name: 'GREDGRPHOSTPOLICY'}); + pgm.dropTable({schema: "huawei_cm", name: 'GRSVPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'GTPU'}); + pgm.dropTable({schema: "huawei_cm", name: 'GTRANSPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'GTRX'}); + pgm.dropTable({schema: "huawei_cm", name: 'GTRXBASE'}); + pgm.dropTable({schema: "huawei_cm", name: 'GTRXCHAN'}); + pgm.dropTable({schema: "huawei_cm", name: 'GTRXCHANHOP'}); + pgm.dropTable({schema: "huawei_cm", name: 'GTRXDEV'}); + pgm.dropTable({schema: "huawei_cm", name: 'GTRXFC'}); + pgm.dropTable({schema: "huawei_cm", name: 'GTRXGROUP'}); + pgm.dropTable({schema: "huawei_cm", name: 'GTRXGROUPSECTOREQM'}); + pgm.dropTable({schema: "huawei_cm", name: 'GTRXHOP'}); + pgm.dropTable({schema: "huawei_cm", name: 'GTRXIUO'}); + pgm.dropTable({schema: "huawei_cm", name: 'GTRXRLALM'}); + pgm.dropTable({schema: "huawei_cm", name: 'GTRXRSVPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'HOMEASCOMM'}); + pgm.dropTable({schema: "huawei_cm", name: 'HOSTLOGSPD'}); + pgm.dropTable({schema: "huawei_cm", name: 'IDRQTEST'}); + pgm.dropTable({schema: "huawei_cm", name: 'IKECFG'}); + pgm.dropTable({schema: "huawei_cm", name: 'IMAGRP'}); + pgm.dropTable({schema: "huawei_cm", name: 'IMALNK'}); + pgm.dropTable({schema: "huawei_cm", name: 'IMBDYNTFS'}); + pgm.dropTable({schema: "huawei_cm", name: 'IMBFACH'}); + pgm.dropTable({schema: "huawei_cm", name: 'IMBSEMISTATICTF'}); + pgm.dropTable({schema: "huawei_cm", name: 'IMBSWITCH'}); + pgm.dropTable({schema: "huawei_cm", name: 'INFBRDRESCFG'}); + pgm.dropTable({schema: "huawei_cm", name: 'INGCHKTSK'}); + pgm.dropTable({schema: "huawei_cm", name: 'INNSOFTPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'INTBRDPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'INTERFREQHOGROUP'}); + pgm.dropTable({schema: "huawei_cm", name: 'INTERRATCELLSHUTDOWN'}); + pgm.dropTable({schema: "huawei_cm", name: 'INTERRATHOCDMA1XRTTGROUP'}); + pgm.dropTable({schema: "huawei_cm", name: 'INTERRATHOCDMAHRPDGROUP'}); + pgm.dropTable({schema: "huawei_cm", name: 'INTERRATHOCOMM'}); + pgm.dropTable({schema: "huawei_cm", name: 'INTERRATHOCOMMGROUP'}); + pgm.dropTable({schema: "huawei_cm", name: 'INTERRATHOGERANGROUP'}); + pgm.dropTable({schema: "huawei_cm", name: 'INTERRATHOUTRANGROUP'}); + pgm.dropTable({schema: "huawei_cm", name: 'INTERRATPOLICYCFGGROUP'}); + pgm.dropTable({schema: "huawei_cm", name: 'INTRAFREQHOGROUP'}); + pgm.dropTable({schema: "huawei_cm", name: 'INTRARATHOCOMM'}); + pgm.dropTable({schema: "huawei_cm", name: 'INVENTORYBOARD'}); + pgm.dropTable({schema: "huawei_cm", name: 'INVENTORYBTSBOARD'}); + pgm.dropTable({schema: "huawei_cm", name: 'INVENTORYBTSFRAME'}); + pgm.dropTable({schema: "huawei_cm", name: 'INVENTORYBTSHOSTVER'}); + pgm.dropTable({schema: "huawei_cm", name: 'INVENTORYBTSRACK'}); + pgm.dropTable({schema: "huawei_cm", name: 'INVENTORYBTSSLOT'}); + pgm.dropTable({schema: "huawei_cm", name: 'INVENTORYFRAME'}); + pgm.dropTable({schema: "huawei_cm", name: 'INVENTORYHOSTVER'}); + pgm.dropTable({schema: "huawei_cm", name: 'INVENTORYPORT'}); + pgm.dropTable({schema: "huawei_cm", name: 'INVENTORYRACK'}); + pgm.dropTable({schema: "huawei_cm", name: 'INVENTORYSLOT'}); + pgm.dropTable({schema: "huawei_cm", name: 'INVENTORYUNITHW'}); + pgm.dropTable({schema: "huawei_cm", name: 'IPCHK'}); + pgm.dropTable({schema: "huawei_cm", name: 'IPCLKLNK'}); + pgm.dropTable({schema: "huawei_cm", name: 'IPGUARD'}); + pgm.dropTable({schema: "huawei_cm", name: 'IPLOGICPORT'}); + pgm.dropTable({schema: "huawei_cm", name: 'IPMUX'}); + pgm.dropTable({schema: "huawei_cm", name: 'IPOAPVC'}); + pgm.dropTable({schema: "huawei_cm", name: 'IPPATH'}); + pgm.dropTable({schema: "huawei_cm", name: 'IPPMSESSION'}); + pgm.dropTable({schema: "huawei_cm", name: 'IPPOOL'}); + pgm.dropTable({schema: "huawei_cm", name: 'IPPOOLIP'}); + pgm.dropTable({schema: "huawei_cm", name: 'IPPOOLPM'}); + pgm.dropTable({schema: "huawei_cm", name: 'IPRT'}); + pgm.dropTable({schema: "huawei_cm", name: 'ITWKPIALMTHD'}); + pgm.dropTable({schema: "huawei_cm", name: 'IU_ADJMAP'}); + pgm.dropTable({schema: "huawei_cm", name: 'IU_ADJNODE'}); + pgm.dropTable({schema: "huawei_cm", name: 'IUB'}); + pgm.dropTable({schema: "huawei_cm", name: 'IUBCP'}); + pgm.dropTable({schema: "huawei_cm", name: 'IUBTRIGHOPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'KPISELFCUREPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'L2L3ROUTEPOLICY'}); + pgm.dropTable({schema: "huawei_cm", name: 'LAPDLINK'}); + pgm.dropTable({schema: "huawei_cm", name: 'LDR'}); + pgm.dropTable({schema: "huawei_cm", name: 'LICALMTHD'}); + pgm.dropTable({schema: "huawei_cm", name: 'LICPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'LICPOLICY'}); + pgm.dropTable({schema: "huawei_cm", name: 'LOADEQ'}); + pgm.dropTable({schema: "huawei_cm", name: 'LOCATION'}); + pgm.dropTable({schema: "huawei_cm", name: 'LOCELLIDLISTTYPE'}); + pgm.dropTable({schema: "huawei_cm", name: 'LOCHPRIO'}); + pgm.dropTable({schema: "huawei_cm", name: 'LODCTRL'}); + pgm.dropTable({schema: "huawei_cm", name: 'LOGLIMIT'}); + pgm.dropTable({schema: "huawei_cm", name: 'LOGPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'M3DE'}); + pgm.dropTable({schema: "huawei_cm", name: 'M3LE'}); + pgm.dropTable({schema: "huawei_cm", name: 'M3LKS'}); + pgm.dropTable({schema: "huawei_cm", name: 'M3LNK'}); + pgm.dropTable({schema: "huawei_cm", name: 'M3RT'}); + pgm.dropTable({schema: "huawei_cm", name: 'MAXDSPFLTNUM'}); + pgm.dropTable({schema: "huawei_cm", name: 'MDTLCS'}); + pgm.dropTable({schema: "huawei_cm", name: 'MIMOADAPTIVEPARACFG'}); + pgm.dropTable({schema: "huawei_cm", name: 'MMEFEATURECFG'}); + pgm.dropTable({schema: "huawei_cm", name: 'MNTMODE'}); + pgm.dropTable({schema: "huawei_cm", name: 'MOCNPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'MPGRP'}); + pgm.dropTable({schema: "huawei_cm", name: 'MPLNK'}); + pgm.dropTable({schema: "huawei_cm", name: 'MRCTRL'}); + pgm.dropTable({schema: "huawei_cm", name: 'MRO'}); + pgm.dropTable({schema: "huawei_cm", name: 'MRSCOPECTRL'}); + pgm.dropTable({schema: "huawei_cm", name: 'MSCH'}); + pgm.dropTable({schema: "huawei_cm", name: 'MSCHDYNTFS'}); + pgm.dropTable({schema: "huawei_cm", name: 'MSCHPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'MSGSOFTPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'MSP'}); + pgm.dropTable({schema: "huawei_cm", name: 'MTCHDYNTFS'}); + pgm.dropTable({schema: "huawei_cm", name: 'MTP3LKS'}); + pgm.dropTable({schema: "huawei_cm", name: 'MTP3LNK'}); + pgm.dropTable({schema: "huawei_cm", name: 'MTP3RT'}); + pgm.dropTable({schema: "huawei_cm", name: 'MTP3TMR'}); + pgm.dropTable({schema: "huawei_cm", name: 'N7DPC'}); + pgm.dropTable({schema: "huawei_cm", name: 'NBMINNERPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'NBMPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'NE'}); + pgm.dropTable({schema: "huawei_cm", name: 'NODE'}); + pgm.dropTable({schema: "huawei_cm", name: 'NODEBALGPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'NODEBEQUIPMENT'}); + pgm.dropTable({schema: "huawei_cm", name: 'NODEBFUNCTION'}); + pgm.dropTable({schema: "huawei_cm", name: 'NODEBMULTICELLGRP'}); + pgm.dropTable({schema: "huawei_cm", name: 'NODEBOPTDYNADJPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'NODEBRESALLOCRULE'}); + pgm.dropTable({schema: "huawei_cm", name: 'NODEBSMTHPWR'}); + pgm.dropTable({schema: "huawei_cm", name: 'NODEBTEMPLATERSC'}); + pgm.dropTable({schema: "huawei_cm", name: 'NODEBUEQOSENHANCE'}); + pgm.dropTable({schema: "huawei_cm", name: 'NODESYNCMONTHD'}); + pgm.dropTable({schema: "huawei_cm", name: 'NRIMSCMAP'}); + pgm.dropTable({schema: "huawei_cm", name: 'NRISGSNMAP'}); + pgm.dropTable({schema: "huawei_cm", name: 'NSE'}); + pgm.dropTable({schema: "huawei_cm", name: 'NSVLLOCAL'}); + pgm.dropTable({schema: "huawei_cm", name: 'OBJALMSHLD'}); + pgm.dropTable({schema: "huawei_cm", name: 'OBJAUTHSW'}); + pgm.dropTable({schema: "huawei_cm", name: 'OMCH'}); + pgm.dropTable({schema: "huawei_cm", name: 'OMUCOMMSVCSW'}); + pgm.dropTable({schema: "huawei_cm", name: 'OMUETH'}); + pgm.dropTable({schema: "huawei_cm", name: 'OMUPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'OMUPORT'}); + pgm.dropTable({schema: "huawei_cm", name: 'OPC'}); + pgm.dropTable({schema: "huawei_cm", name: 'OPLOCK'}); + pgm.dropTable({schema: "huawei_cm", name: 'OPSW'}); + pgm.dropTable({schema: "huawei_cm", name: 'OPT'}); + pgm.dropTable({schema: "huawei_cm", name: 'OSPWDPOLICY'}); + pgm.dropTable({schema: "huawei_cm", name: 'OTHSOFTPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'PACKETFILTERALMPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'PCCHCFG'}); + pgm.dropTable({schema: "huawei_cm", name: 'PDCPHEADCOMP'}); + pgm.dropTable({schema: "huawei_cm", name: 'PDCPROHCPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'PDSCHCFG'}); + pgm.dropTable({schema: "huawei_cm", name: 'PERIODICRTTLCS'}); + pgm.dropTable({schema: "huawei_cm", name: 'PHBMAP'}); + pgm.dropTable({schema: "huawei_cm", name: 'PHICHCFG'}); + pgm.dropTable({schema: "huawei_cm", name: 'PORTFLOWCTRLPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'PORTOSCCTRLPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'PSPREFABISCONGCTRL'}); + pgm.dropTable({schema: "huawei_cm", name: 'PSUSRRESBIND'}); + pgm.dropTable({schema: "huawei_cm", name: 'PTPBVC'}); + pgm.dropTable({schema: "huawei_cm", name: 'PUCCHCFG'}); + pgm.dropTable({schema: "huawei_cm", name: 'PUSCHCFG'}); + pgm.dropTable({schema: "huawei_cm", name: 'PUSCHPARAM'}); + pgm.dropTable({schema: "huawei_cm", name: 'PWDPOLICY'}); + pgm.dropTable({schema: "huawei_cm", name: 'PWRALMSW'}); + pgm.dropTable({schema: "huawei_cm", name: 'PWRPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'QUEUEMAP'}); + pgm.dropTable({schema: "huawei_cm", name: 'RACHCFG'}); + pgm.dropTable({schema: "huawei_cm", name: 'RDTLOGSWITCH'}); + pgm.dropTable({schema: "huawei_cm", name: 'REFTIMEDIFF'}); + pgm.dropTable({schema: "huawei_cm", name: 'RET'}); + pgm.dropTable({schema: "huawei_cm", name: 'RETDEVICEDATA'}); + pgm.dropTable({schema: "huawei_cm", name: 'RETSUBUNIT'}); + pgm.dropTable({schema: "huawei_cm", name: 'RLCPDCPPARAGROUP'}); + pgm.dropTable({schema: "huawei_cm", name: 'RNCPOOLCFGCTRL'}); + pgm.dropTable({schema: "huawei_cm", name: 'RNCPOOLSYNCFLAG'}); + pgm.dropTable({schema: "huawei_cm", name: 'RRCCONNSTATETIMER'}); + pgm.dropTable({schema: "huawei_cm", name: 'RRINNERTIMER'}); + pgm.dropTable({schema: "huawei_cm", name: 'RRMCDLCFG'}); + pgm.dropTable({schema: "huawei_cm", name: 'RRRSVDPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'RRUJOINTCALPARACFG'}); + pgm.dropTable({schema: "huawei_cm", name: 'RSCADJTIME'}); + pgm.dropTable({schema: "huawei_cm", name: 'RSCGRP'}); + pgm.dropTable({schema: "huawei_cm", name: 'RSCGRPALG'}); + pgm.dropTable({schema: "huawei_cm", name: 'RSVRES'}); + pgm.dropTable({schema: "huawei_cm", name: 'RULELIBVER'}); + pgm.dropTable({schema: "huawei_cm", name: 'S1'}); + pgm.dropTable({schema: "huawei_cm", name: 'S1INTERFACE'}); + pgm.dropTable({schema: "huawei_cm", name: 'S1REESTTIMER'}); + pgm.dropTable({schema: "huawei_cm", name: 'SAALLNK'}); + pgm.dropTable({schema: "huawei_cm", name: 'SAUCENTER'}); + pgm.dropTable({schema: "huawei_cm", name: 'SCCPTMR'}); + pgm.dropTable({schema: "huawei_cm", name: 'SCTPHOST'}); + pgm.dropTable({schema: "huawei_cm", name: 'SCTPHOSTREF'}); + pgm.dropTable({schema: "huawei_cm", name: 'SCTPLNK'}); + pgm.dropTable({schema: "huawei_cm", name: 'SCTPPEER'}); + pgm.dropTable({schema: "huawei_cm", name: 'SCTPPEERREF'}); + pgm.dropTable({schema: "huawei_cm", name: 'SCTPPROF'}); + pgm.dropTable({schema: "huawei_cm", name: 'SCTPSRVPORT'}); + pgm.dropTable({schema: "huawei_cm", name: 'SCUPORT'}); + pgm.dropTable({schema: "huawei_cm", name: 'SDSECPOLICY'}); + pgm.dropTable({schema: "huawei_cm", name: 'SECTOR'}); + pgm.dropTable({schema: "huawei_cm", name: 'SECTORANTENNAREF'}); + pgm.dropTable({schema: "huawei_cm", name: 'SECTOREQM'}); + pgm.dropTable({schema: "huawei_cm", name: 'SECTOREQMANTENNAREF'}); + pgm.dropTable({schema: "huawei_cm", name: 'SECTOREQMIDLISTTYPE'}); + pgm.dropTable({schema: "huawei_cm", name: 'SECTOREQMREFTYPE'}); + pgm.dropTable({schema: "huawei_cm", name: 'SELFCUREPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'SERVICEIFDLEARFCNGRP'}); + pgm.dropTable({schema: "huawei_cm", name: 'SERVICEIFHOCFGGROUP'}); + pgm.dropTable({schema: "huawei_cm", name: 'SERVICEIRHOCFGGROUP'}); + pgm.dropTable({schema: "huawei_cm", name: 'SGSN'}); + pgm.dropTable({schema: "huawei_cm", name: 'SGSNNODE'}); + pgm.dropTable({schema: "huawei_cm", name: 'SHARETHD'}); + pgm.dropTable({schema: "huawei_cm", name: 'SIMULOAD'}); + pgm.dropTable({schema: "huawei_cm", name: 'SIRDISTOLPC'}); + pgm.dropTable({schema: "huawei_cm", name: 'SLFSLVSW'}); + pgm.dropTable({schema: "huawei_cm", name: 'SNTPCLTPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'SNTPSRVINFO'}); + pgm.dropTable({schema: "huawei_cm", name: 'SQICOUNT'}); + pgm.dropTable({schema: "huawei_cm", name: 'SRCIPRT'}); + pgm.dropTable({schema: "huawei_cm", name: 'SRCONPATH'}); + pgm.dropTable({schema: "huawei_cm", name: 'SRSADAPTIVECFG'}); + pgm.dropTable({schema: "huawei_cm", name: 'SRSCFG'}); + pgm.dropTable({schema: "huawei_cm", name: 'SS7PATCHSWITCH'}); + pgm.dropTable({schema: "huawei_cm", name: 'SSLAUTHMODE'}); + pgm.dropTable({schema: "huawei_cm", name: 'SSLCONF'}); + pgm.dropTable({schema: "huawei_cm", name: 'SSLCS'}); + pgm.dropTable({schema: "huawei_cm", name: 'STANDARDQCI'}); + pgm.dropTable({schema: "huawei_cm", name: 'SUBNET'}); + pgm.dropTable({schema: "huawei_cm", name: 'SUBRACK'}); + pgm.dropTable({schema: "huawei_cm", name: 'SUBSESSION_NE'}); + pgm.dropTable({schema: "huawei_cm", name: 'SYNSWITCH'}); + pgm.dropTable({schema: "huawei_cm", name: 'SYS'}); + pgm.dropTable({schema: "huawei_cm", name: 'TACALG'}); + pgm.dropTable({schema: "huawei_cm", name: 'TCEIPMAPPING'}); + pgm.dropTable({schema: "huawei_cm", name: 'TCPACKCTRLALGO'}); + pgm.dropTable({schema: "huawei_cm", name: 'TCPACKLIMITALG'}); + pgm.dropTable({schema: "huawei_cm", name: 'TCPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'TCPMSSCTRL'}); + pgm.dropTable({schema: "huawei_cm", name: 'TCPOOLBSCID'}); + pgm.dropTable({schema: "huawei_cm", name: 'TCRSVPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'TDDFRAMEOFFSET'}); + pgm.dropTable({schema: "huawei_cm", name: 'TDDRESMODESWITCH'}); + pgm.dropTable({schema: "huawei_cm", name: 'TGPSCP'}); + pgm.dropTable({schema: "huawei_cm", name: 'TIMEALIGNMENTTIMER'}); + pgm.dropTable({schema: "huawei_cm", name: 'TNALMPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'TNLOADBALANCEPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'TNRSVDPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'TNSOFTPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'TOLCALG'}); + pgm.dropTable({schema: "huawei_cm", name: 'TPEALGO'}); + pgm.dropTable({schema: "huawei_cm", name: 'TRANSPATCHPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'TRANSPHYLNKPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'TRANSRSVPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'TRCLOGSPD'}); + pgm.dropTable({schema: "huawei_cm", name: 'TRMFACTOR'}); + pgm.dropTable({schema: "huawei_cm", name: 'TRMLOADTH'}); + pgm.dropTable({schema: "huawei_cm", name: 'TRMMAP'}); + pgm.dropTable({schema: "huawei_cm", name: 'TRUSTCERT'}); + pgm.dropTable({schema: "huawei_cm", name: 'TRXBIND2PHYBRD'}); + pgm.dropTable({schema: "huawei_cm", name: 'TYPDRBBSR'}); + pgm.dropTable({schema: "huawei_cm", name: 'TZ'}); + pgm.dropTable({schema: "huawei_cm", name: 'U2GNCELL'}); + pgm.dropTable({schema: "huawei_cm", name: 'UACALGO'}); + pgm.dropTable({schema: "huawei_cm", name: 'UADAPALGOSWITCH'}); + pgm.dropTable({schema: "huawei_cm", name: 'UADMCTRL'}); + pgm.dropTable({schema: "huawei_cm", name: 'UAICH'}); + pgm.dropTable({schema: "huawei_cm", name: 'UAMRC'}); + pgm.dropTable({schema: "huawei_cm", name: 'UAMRCWB'}); + pgm.dropTable({schema: "huawei_cm", name: 'UBCH'}); + pgm.dropTable({schema: "huawei_cm", name: 'UCACALGOSWITCH'}); + pgm.dropTable({schema: "huawei_cm", name: 'UCALLSHOCKCTRL'}); + pgm.dropTable({schema: "huawei_cm", name: 'UCCP'}); + pgm.dropTable({schema: "huawei_cm", name: 'UCELL'}); + pgm.dropTable({schema: "huawei_cm", name: 'UCELLACCESSSTRICT'}); + pgm.dropTable({schema: "huawei_cm", name: 'UCELLALGOSWITCH'}); + pgm.dropTable({schema: "huawei_cm", name: 'UCELLCAC'}); + pgm.dropTable({schema: "huawei_cm", name: 'UCELLCMCF'}); + pgm.dropTable({schema: "huawei_cm", name: 'UCELLDCCC'}); + pgm.dropTable({schema: "huawei_cm", name: 'UCELLDISTANCEREDIRECTION'}); + pgm.dropTable({schema: "huawei_cm", name: 'UCELLDRD'}); + pgm.dropTable({schema: "huawei_cm", name: 'UCELLDYNSHUTDOWN'}); + pgm.dropTable({schema: "huawei_cm", name: 'UCELLFRC'}); + pgm.dropTable({schema: "huawei_cm", name: 'UCELLHCS'}); + pgm.dropTable({schema: "huawei_cm", name: 'UCELLHOCOMM'}); + pgm.dropTable({schema: "huawei_cm", name: 'UCELLHSDPA'}); + pgm.dropTable({schema: "huawei_cm", name: 'UCELLHSDPCCH'}); + pgm.dropTable({schema: "huawei_cm", name: 'UCELLHSUPA'}); + pgm.dropTable({schema: "huawei_cm", name: 'UCELLINTERFREQHOCOV'}); + pgm.dropTable({schema: "huawei_cm", name: 'UCELLINTERRATHOCOV'}); + pgm.dropTable({schema: "huawei_cm", name: 'UCELLINTERRATHONCOV'}); + pgm.dropTable({schema: "huawei_cm", name: 'UCELLINTRAFREQHO'}); + pgm.dropTable({schema: "huawei_cm", name: 'UCELLLDB'}); + pgm.dropTable({schema: "huawei_cm", name: 'UCELLLDM'}); + pgm.dropTable({schema: "huawei_cm", name: 'UCELLLDR'}); + pgm.dropTable({schema: "huawei_cm", name: 'UCELLLICENSE'}); + pgm.dropTable({schema: "huawei_cm", name: 'UCELLMEAS'}); + pgm.dropTable({schema: "huawei_cm", name: 'UCELLNFREQPRIOINFO'}); + pgm.dropTable({schema: "huawei_cm", name: 'UCELLOLC'}); + pgm.dropTable({schema: "huawei_cm", name: 'UCELLPUC'}); + pgm.dropTable({schema: "huawei_cm", name: 'UCELLREDIRECTION'}); + pgm.dropTable({schema: "huawei_cm", name: 'UCELLRLACTTIME'}); + pgm.dropTable({schema: "huawei_cm", name: 'UCELLRLPWR'}); + pgm.dropTable({schema: "huawei_cm", name: 'UCELLSELRESEL'}); + pgm.dropTable({schema: "huawei_cm", name: 'UCELLSIBSWITCH'}); + pgm.dropTable({schema: "huawei_cm", name: 'UCELLUPDTCTRLSWITCH'}); + pgm.dropTable({schema: "huawei_cm", name: 'UCELLURA'}); + pgm.dropTable({schema: "huawei_cm", name: 'UCHLQUALITYEVALUATE'}); + pgm.dropTable({schema: "huawei_cm", name: 'UCHPWROFFSET'}); + pgm.dropTable({schema: "huawei_cm", name: 'UCIDCHG'}); + pgm.dropTable({schema: "huawei_cm", name: 'UCLB'}); + pgm.dropTable({schema: "huawei_cm", name: 'UCMCF'}); + pgm.dropTable({schema: "huawei_cm", name: 'UCNDOMAIN'}); + pgm.dropTable({schema: "huawei_cm", name: 'UCNNODE'}); + pgm.dropTable({schema: "huawei_cm", name: 'UCNOPERATOR'}); + pgm.dropTable({schema: "huawei_cm", name: 'UCNOPERGROUP'}); + pgm.dropTable({schema: "huawei_cm", name: 'UCNTCHK'}); + pgm.dropTable({schema: "huawei_cm", name: 'UCOIFTIMER'}); + pgm.dropTable({schema: "huawei_cm", name: 'UCONNMODETIMER'}); + pgm.dropTable({schema: "huawei_cm", name: 'UCORRMALGOSWITCH'}); + pgm.dropTable({schema: "huawei_cm", name: 'UCORRMPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'UCSVOICEPPC'}); + pgm.dropTable({schema: "huawei_cm", name: 'UCTRLPLNSHAREPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'UDCCC'}); + pgm.dropTable({schema: "huawei_cm", name: 'UDISTANCEREDIRECTION'}); + pgm.dropTable({schema: "huawei_cm", name: 'UDPUCFGDATA'}); + pgm.dropTable({schema: "huawei_cm", name: 'UDRD'}); + pgm.dropTable({schema: "huawei_cm", name: 'UDRDMIMO'}); + pgm.dropTable({schema: "huawei_cm", name: 'UDSACAUTOALGO'}); + pgm.dropTable({schema: "huawei_cm", name: 'UDT'}); + pgm.dropTable({schema: "huawei_cm", name: 'UDTPARAGRP'}); + pgm.dropTable({schema: "huawei_cm", name: 'UDTXDRXPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'UEDCHRATEADJUSTSET'}); + pgm.dropTable({schema: "huawei_cm", name: 'UEDCHTTIRECFG'}); + pgm.dropTable({schema: "huawei_cm", name: 'UETIMERCONST'}); + pgm.dropTable({schema: "huawei_cm", name: 'UEVQIPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'UEXT2GCELL'}); + pgm.dropTable({schema: "huawei_cm", name: 'UEXT3GCELL'}); + pgm.dropTable({schema: "huawei_cm", name: 'UEXT3GCELLINTRAFREQHO'}); + pgm.dropTable({schema: "huawei_cm", name: 'UFACH'}); + pgm.dropTable({schema: "huawei_cm", name: 'UFACHBANDWIDTH'}); + pgm.dropTable({schema: "huawei_cm", name: 'UFACHDYNTFS'}); + pgm.dropTable({schema: "huawei_cm", name: 'UFACHLOCH'}); + pgm.dropTable({schema: "huawei_cm", name: 'UFDPCHPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'UFDPCHRLPWR'}); + pgm.dropTable({schema: "huawei_cm", name: 'UFRC'}); + pgm.dropTable({schema: "huawei_cm", name: 'UFRCCHLTYPEPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'UHCSHO'}); + pgm.dropTable({schema: "huawei_cm", name: 'UHOCOMM'}); + pgm.dropTable({schema: "huawei_cm", name: 'UHSDPCCH'}); + pgm.dropTable({schema: "huawei_cm", name: 'UHSSCCHLESSOPPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'UIDLEMODETIMER'}); + pgm.dropTable({schema: "huawei_cm", name: 'UIMSIIDNNSCNIDMAP'}); + pgm.dropTable({schema: "huawei_cm", name: 'UINTERFREQHOCOV'}); + pgm.dropTable({schema: "huawei_cm", name: 'UINTERFREQHONCOV'}); + pgm.dropTable({schema: "huawei_cm", name: 'UINTERFREQNCELL'}); + pgm.dropTable({schema: "huawei_cm", name: 'UINTERRATHOCOV'}); + pgm.dropTable({schema: "huawei_cm", name: 'UINTERRATHONCOV'}); + pgm.dropTable({schema: "huawei_cm", name: 'UINTRAFREQHO'}); + pgm.dropTable({schema: "huawei_cm", name: 'UINTRAFREQNCELL'}); + pgm.dropTable({schema: "huawei_cm", name: 'UIPSERVICEQOS'}); + pgm.dropTable({schema: "huawei_cm", name: 'UIURGCONN'}); + pgm.dropTable({schema: "huawei_cm", name: 'UIUTIMERANDNUM'}); + pgm.dropTable({schema: "huawei_cm", name: 'UKPIALMTHD'}); + pgm.dropTable({schema: "huawei_cm", name: 'ULAC'}); + pgm.dropTable({schema: "huawei_cm", name: 'ULDCALGOPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'ULDCPERIOD'}); + pgm.dropTable({schema: "huawei_cm", name: 'ULDM'}); + pgm.dropTable({schema: "huawei_cm", name: 'ULFLOWCTRLPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'ULOCELL'}); + pgm.dropTable({schema: "huawei_cm", name: 'ULOCELLALGPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'ULOCELLMACEPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'ULOCELLMACHSPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'ULOCELLRSCLMTPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'ULOCELLSECEQMGRP'}); + pgm.dropTable({schema: "huawei_cm", name: 'ULOCELLSECTOREQM'}); + pgm.dropTable({schema: "huawei_cm", name: 'ULTECELL'}); + pgm.dropTable({schema: "huawei_cm", name: 'ULTENCELL'}); + pgm.dropTable({schema: "huawei_cm", name: 'UMBMSALARMPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'UMBMSFACH'}); + pgm.dropTable({schema: "huawei_cm", name: 'UMBMSPERF'}); + pgm.dropTable({schema: "huawei_cm", name: 'UMBMSSCCPCH'}); + pgm.dropTable({schema: "huawei_cm", name: 'UMBMSSWITCH'}); + pgm.dropTable({schema: "huawei_cm", name: 'UMBSCCRRM'}); + pgm.dropTable({schema: "huawei_cm", name: 'UMCCHPERIODCOEF'}); + pgm.dropTable({schema: "huawei_cm", name: 'UMCDRD'}); + pgm.dropTable({schema: "huawei_cm", name: 'UMCLDR'}); + pgm.dropTable({schema: "huawei_cm", name: 'UMGWTST'}); + pgm.dropTable({schema: "huawei_cm", name: 'UMRSWITCH'}); + pgm.dropTable({schema: "huawei_cm", name: 'UMSCHFACH'}); + pgm.dropTable({schema: "huawei_cm", name: 'UMTCH'}); + pgm.dropTable({schema: "huawei_cm", name: 'UMTESTPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'UMULTIRABHOCOV'}); + pgm.dropTable({schema: "huawei_cm", name: 'UNBSC'}); + pgm.dropTable({schema: "huawei_cm", name: 'UNCELLDETECTSWITCH'}); + pgm.dropTable({schema: "huawei_cm", name: 'UNCP'}); + pgm.dropTable({schema: "huawei_cm", name: 'UNILNK'}); + pgm.dropTable({schema: "huawei_cm", name: 'UNODEB'}); + pgm.dropTable({schema: "huawei_cm", name: 'UNODEBALGOPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'UNODEBIP'}); + pgm.dropTable({schema: "huawei_cm", name: 'UNODEBLDR'}); + pgm.dropTable({schema: "huawei_cm", name: 'UNODEBMNTMODE'}); + pgm.dropTable({schema: "huawei_cm", name: 'UNODEBOLC'}); + pgm.dropTable({schema: "huawei_cm", name: 'UNRIGLBCNIDMAP'}); + pgm.dropTable({schema: "huawei_cm", name: 'UNRNC'}); + pgm.dropTable({schema: "huawei_cm", name: 'UOLPC'}); + pgm.dropTable({schema: "huawei_cm", name: 'UOPERATORCFGPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'UOPERATORSHARINGMODE'}); + pgm.dropTable({schema: "huawei_cm", name: 'UPCCPCH'}); + pgm.dropTable({schema: "huawei_cm", name: 'UPCH'}); + pgm.dropTable({schema: "huawei_cm", name: 'UPCHDYNTFS'}); + pgm.dropTable({schema: "huawei_cm", name: 'UPCPICH'}); + pgm.dropTable({schema: "huawei_cm", name: 'UPICH'}); + pgm.dropTable({schema: "huawei_cm", name: 'UPOOLLOADSHAREPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'UPOOLPRIMHOSTPOLICY'}); + pgm.dropTable({schema: "huawei_cm", name: 'UPOOLREDUNDANCY'}); + pgm.dropTable({schema: "huawei_cm", name: 'UPRACHACTOASCMAP'}); + pgm.dropTable({schema: "huawei_cm", name: 'UPRACHASC'}); + pgm.dropTable({schema: "huawei_cm", name: 'UPRACHBASIC'}); + pgm.dropTable({schema: "huawei_cm", name: 'UPRACHSLOTFORMAT'}); + pgm.dropTable({schema: "huawei_cm", name: 'UPRACHTFC'}); + pgm.dropTable({schema: "huawei_cm", name: 'UPSCH'}); + pgm.dropTable({schema: "huawei_cm", name: 'UPSINACTTIMER'}); + pgm.dropTable({schema: "huawei_cm", name: 'UPTTPARAM'}); + pgm.dropTable({schema: "huawei_cm", name: 'UPTTSTATETRANS'}); + pgm.dropTable({schema: "huawei_cm", name: 'UQOSACT'}); + pgm.dropTable({schema: "huawei_cm", name: 'UQOSALGOPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'UQOSHO'}); + pgm.dropTable({schema: "huawei_cm", name: 'UQUALITYMEAS'}); + pgm.dropTable({schema: "huawei_cm", name: 'UQUEUEPREEMPT'}); + pgm.dropTable({schema: "huawei_cm", name: 'URAC'}); + pgm.dropTable({schema: "huawei_cm", name: 'URACH'}); + pgm.dropTable({schema: "huawei_cm", name: 'URACHDYNTFS'}); + pgm.dropTable({schema: "huawei_cm", name: 'URACHMEASUREPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'UREDIRECTION'}); + pgm.dropTable({schema: "huawei_cm", name: 'URNCBASIC'}); + pgm.dropTable({schema: "huawei_cm", name: 'URNCCBPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'URNCCELLSHUTDOWNPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'URNCINPOOLRRMALGO'}); + pgm.dropTable({schema: "huawei_cm", name: 'URNCMBMSPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'URRCESTCAUSE'}); + pgm.dropTable({schema: "huawei_cm", name: 'URRCTRLSWITCH'}); + pgm.dropTable({schema: "huawei_cm", name: 'USAC'}); + pgm.dropTable({schema: "huawei_cm", name: 'USATLDCPERIOD'}); + pgm.dropTable({schema: "huawei_cm", name: 'USATLDM'}); + pgm.dropTable({schema: "huawei_cm", name: 'USCCPCHBASIC'}); + pgm.dropTable({schema: "huawei_cm", name: 'USCCPCHTFC'}); + pgm.dropTable({schema: "huawei_cm", name: 'USCHEDULEPRIOMAP'}); + pgm.dropTable({schema: "huawei_cm", name: 'USEREVTRTNPOLICY'}); + pgm.dropTable({schema: "huawei_cm", name: 'USERPLANEHOST'}); + pgm.dropTable({schema: "huawei_cm", name: 'USERPLANEHOSTREF'}); + pgm.dropTable({schema: "huawei_cm", name: 'USERPLANEPEER'}); + pgm.dropTable({schema: "huawei_cm", name: 'USERPLANEPEERREF'}); + pgm.dropTable({schema: "huawei_cm", name: 'USERVMEAPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'USMLC'}); + pgm.dropTable({schema: "huawei_cm", name: 'USMLCCELL'}); + pgm.dropTable({schema: "huawei_cm", name: 'USMLCEXT3GCELL'}); + pgm.dropTable({schema: "huawei_cm", name: 'USPG'}); + pgm.dropTable({schema: "huawei_cm", name: 'USPIWEIGHT'}); + pgm.dropTable({schema: "huawei_cm", name: 'USRBRATECOVSEL'}); + pgm.dropTable({schema: "huawei_cm", name: 'USRNSR'}); + pgm.dropTable({schema: "huawei_cm", name: 'USRRESBIND'}); + pgm.dropTable({schema: "huawei_cm", name: 'USSCH'}); + pgm.dropTable({schema: "huawei_cm", name: 'USTATETIMER'}); + pgm.dropTable({schema: "huawei_cm", name: 'UTHPCLASS'}); + pgm.dropTable({schema: "huawei_cm", name: 'UTRANEXTERNALCELL'}); + pgm.dropTable({schema: "huawei_cm", name: 'UTRANNCELL'}); + pgm.dropTable({schema: "huawei_cm", name: 'UTRANNFREQ'}); + pgm.dropTable({schema: "huawei_cm", name: 'UU2LTEHOCOV'}); + pgm.dropTable({schema: "huawei_cm", name: 'UU2LTEHONCOV'}); + pgm.dropTable({schema: "huawei_cm", name: 'UUEA'}); + pgm.dropTable({schema: "huawei_cm", name: 'UUESTATETRANS'}); + pgm.dropTable({schema: "huawei_cm", name: 'UUESTATETRANSTIMER'}); + pgm.dropTable({schema: "huawei_cm", name: 'UUIA'}); + pgm.dropTable({schema: "huawei_cm", name: 'UUPALGOSWITCH'}); + pgm.dropTable({schema: "huawei_cm", name: 'UURA'}); + pgm.dropTable({schema: "huawei_cm", name: 'UUSERGBR'}); + pgm.dropTable({schema: "huawei_cm", name: 'UUSERHAPPYBR'}); + pgm.dropTable({schema: "huawei_cm", name: 'UUSERMBR'}); + pgm.dropTable({schema: "huawei_cm", name: 'UUSERPLNSHAREPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'UUSERPRIORITY'}); + pgm.dropTable({schema: "huawei_cm", name: 'UVIPIMSI'}); + pgm.dropTable({schema: "huawei_cm", name: 'UVIRTUALGRID'}); + pgm.dropTable({schema: "huawei_cm", name: 'UWPSALGO'}); + pgm.dropTable({schema: "huawei_cm", name: 'UX2CTRLPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'VLANCLASS'}); + pgm.dropTable({schema: "huawei_cm", name: 'VLANID'}); + pgm.dropTable({schema: "huawei_cm", name: 'VLANMAP'}); + pgm.dropTable({schema: "huawei_cm", name: 'VIPTRACESW'}); + pgm.dropTable({schema: "huawei_cm", name: 'VQMALGO'}); + pgm.dropTable({schema: "huawei_cm", name: 'VRF'}); + pgm.dropTable({schema: "huawei_cm", name: 'WEBLMT'}); + pgm.dropTable({schema: "huawei_cm", name: 'WEBLOGINPOLICY'}); + pgm.dropTable({schema: "huawei_cm", name: 'WLOCALIP'}); + pgm.dropTable({schema: "huawei_cm", name: 'X2'}); + pgm.dropTable({schema: "huawei_cm", name: 'X2BLACKWHITELIST'}); + pgm.dropTable({schema: "huawei_cm", name: 'X2INTERFACE'}); + pgm.dropTable({schema: "huawei_cm", name: 'XPUPORT'}); + pgm.dropTable({schema: "huawei_cm", name: 'XPUVLAN'}); + pgm.dropTable({schema: "huawei_cm", name: 'TRANSCFGSPEC'}); + pgm.dropTable({schema: "huawei_cm", name: 'TRANSCHKPOLICY'}); + pgm.dropTable({schema: "huawei_cm", name: 'TRPCHKPOLICY'}); + pgm.dropTable({schema: "huawei_cm", name: 'UTYPRABBASIC'}); + pgm.dropTable({schema: "huawei_cm", name: 'UTYPRABDCCCMC'}); + pgm.dropTable({schema: "huawei_cm", name: 'TYPRABDYNTF'}); + pgm.dropTable({schema: "huawei_cm", name: 'UTYPRABHSPA'}); + pgm.dropTable({schema: "huawei_cm", name: 'TYPRABHSUPAPC'}); + pgm.dropTable({schema: "huawei_cm", name: 'UTYPRABOLPC'}); + pgm.dropTable({schema: "huawei_cm", name: 'UTYPRABQUALITYMEAS'}); + pgm.dropTable({schema: "huawei_cm", name: 'UTYPRABRLC'}); + pgm.dropTable({schema: "huawei_cm", name: 'UTYPRABSEMISTATICTF'}); + pgm.dropTable({schema: "huawei_cm", name: 'TYPRABSUBFLOW'}); + pgm.dropTable({schema: "huawei_cm", name: 'TYPRABTOAW'}); + pgm.dropTable({schema: "huawei_cm", name: 'TYPSRBBASIC'}); + pgm.dropTable({schema: "huawei_cm", name: 'TYPSRBDYNTF'}); + pgm.dropTable({schema: "huawei_cm", name: 'TYPSRBHSPA'}); + pgm.dropTable({schema: "huawei_cm", name: 'TYPSRBHSUPAPC'}); + pgm.dropTable({schema: "huawei_cm", name: 'TYPSRBOLPC'}); + pgm.dropTable({schema: "huawei_cm", name: 'TYPSRBRLC'}); + pgm.dropTable({schema: "huawei_cm", name: 'TYPSRBSEMISTATICTF'}); + pgm.dropTable({schema: "huawei_cm", name: 'TYPSRBTOAW'}); + pgm.dropTable({schema: "huawei_cm", name: 'UABNORMTEDETECT'}); + pgm.dropTable({schema: "huawei_cm", name: 'UADPETADJCTRL'}); + pgm.dropTable({schema: "huawei_cm", name: 'UALGORSVPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'UALGORSVPARAPHY'}); + pgm.dropTable({schema: "huawei_cm", name: 'UALMTHD'}); + pgm.dropTable({schema: "huawei_cm", name: 'UALWAYSHDVOICE'}); + pgm.dropTable({schema: "huawei_cm", name: 'UAMRBLACKBOXCTRL'}); + pgm.dropTable({schema: "huawei_cm", name: 'UANRPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'UARPTOPRIOMAP'}); + pgm.dropTable({schema: "huawei_cm", name: 'UBLACKBOXSWITCH'}); + pgm.dropTable({schema: "huawei_cm", name: 'UCAMPSTRATFORMASS'}); + pgm.dropTable({schema: "huawei_cm", name: 'UCELLADAPTRACH'}); + pgm.dropTable({schema: "huawei_cm", name: 'UCELLALGORSVPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'UCELLCOALGOENHPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'UCELLCONGACALGO'}); + pgm.dropTable({schema: "huawei_cm", name: 'UCELLCONNALGOPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'UCELLCONNREDIR'}); + pgm.dropTable({schema: "huawei_cm", name: 'UCHRRPTTYPE'}); + pgm.dropTable({schema: "huawei_cm", name: 'UCHRSTORE'}); + pgm.dropTable({schema: "huawei_cm", name: 'UCNNODERSVPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'UCOCOVERAGE'}); + pgm.dropTable({schema: "huawei_cm", name: 'UDCHENHPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'UDEUCFGDATA'}); + pgm.dropTable({schema: "huawei_cm", name: 'UDEURSVPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'UEKPIPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'UEVENTCHRFCCPUTHD'}); + pgm.dropTable({schema: "huawei_cm", name: 'UEVENTCHRSWITCH'}); + pgm.dropTable({schema: "huawei_cm", name: 'UFACHCFGPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'UHHONCELLPAOPT'}); + pgm.dropTable({schema: "huawei_cm", name: 'UINTERBANDLOADBLANCE'}); + pgm.dropTable({schema: "huawei_cm", name: 'UINTERBANDSCENDYNOPT'}); + pgm.dropTable({schema: "huawei_cm", name: 'UINTRANCELLPAOPT'}); + pgm.dropTable({schema: "huawei_cm", name: 'UIOPTATOMRULE'}); + pgm.dropTable({schema: "huawei_cm", name: 'UIOPTFEATURE'}); + pgm.dropTable({schema: "huawei_cm", name: 'UIOPTFUNCTION'}); + pgm.dropTable({schema: "huawei_cm", name: 'UIOPTRULE'}); + pgm.dropTable({schema: "huawei_cm", name: 'UIOPTRULELINKRELAT'}); + pgm.dropTable({schema: "huawei_cm", name: 'UIOPTRULEMEMBER'}); + pgm.dropTable({schema: "huawei_cm", name: 'UL2RSVPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'UMMCHRRPTTYPE'}); + pgm.dropTable({schema: "huawei_cm", name: 'UMMCHRSCOPE'}); + pgm.dropTable({schema: "huawei_cm", name: 'UMMEVENTCHRCTRL'}); + pgm.dropTable({schema: "huawei_cm", name: 'UMMMRCTRL'}); + pgm.dropTable({schema: "huawei_cm", name: 'UMMMRSCOPE'}); + pgm.dropTable({schema: "huawei_cm", name: 'UMMRNCCHRSCOPE'}); + pgm.dropTable({schema: "huawei_cm", name: 'UMMRNCMRSCOPE'}); + pgm.dropTable({schema: "huawei_cm", name: 'UMONDEVGRPID'}); + pgm.dropTable({schema: "huawei_cm", name: 'UNBMPHYPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'UNETAWARENESS'}); + pgm.dropTable({schema: "huawei_cm", name: 'UNIUCFGDATA'}); + pgm.dropTable({schema: "huawei_cm", name: 'UNIURSVPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'UNODEBALGORSVPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'UNODEPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'UNRNCRSVPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'UPCHRCFG'}); + pgm.dropTable({schema: "huawei_cm", name: 'UPOOLRELIABILITYPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'URLPWROFFSET'}); + pgm.dropTable({schema: "huawei_cm", name: 'URNCCHRSCOPE'}); + pgm.dropTable({schema: "huawei_cm", name: 'URNCMRSCOPE'}); + pgm.dropTable({schema: "huawei_cm", name: 'URNCTIMEPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'URRCTRLPHYSWITCH'}); + pgm.dropTable({schema: "huawei_cm", name: 'URRLOGPRINTSWITCH'}); + pgm.dropTable({schema: "huawei_cm", name: 'USCENARIO'}); + pgm.dropTable({schema: "huawei_cm", name: 'USCENARIOIDENTIFY'}); + pgm.dropTable({schema: "huawei_cm", name: 'USCENARIORULE'}); + pgm.dropTable({schema: "huawei_cm", name: 'USCENARIORULEMEMBER'}); + pgm.dropTable({schema: "huawei_cm", name: 'USCHEDULEPRIOMAPEX'}); + pgm.dropTable({schema: "huawei_cm", name: 'USEREXPESTIMATE'}); + pgm.dropTable({schema: "huawei_cm", name: 'USEREXPTHD'}); + pgm.dropTable({schema: "huawei_cm", name: 'USERVFCPRIO'}); + pgm.dropTable({schema: "huawei_cm", name: 'USERVMEARANGE'}); + pgm.dropTable({schema: "huawei_cm", name: 'UTRACECTRL'}); + pgm.dropTable({schema: "huawei_cm", name: 'UTYPSRBDCHRNCRLC'}); + pgm.dropTable({schema: "huawei_cm", name: 'UUECAPREDIRECTION'}); + pgm.dropTable({schema: "huawei_cm", name: 'UULTRAFASTCSACCESS'}); + pgm.dropTable({schema: "huawei_cm", name: 'UUPCTRLSWITCH'}); + pgm.dropTable({schema: "huawei_cm", name: 'UUPRSVPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'UUPTSSWITCH'}); + pgm.dropTable({schema: "huawei_cm", name: 'UUSERGBREX'}); + pgm.dropTable({schema: "huawei_cm", name: 'UUSERINTEGPRIO'}); + pgm.dropTable({schema: "huawei_cm", name: 'UUUBOOST'}); + pgm.dropTable({schema: "huawei_cm", name: 'UVIDEOACCELERATION'}); + pgm.dropTable({schema: "huawei_cm", name: 'UVIDEOSHAPING'}); + pgm.dropTable({schema: "huawei_cm", name: 'ALGOSWITCH'}); + pgm.dropTable({schema: "huawei_cm", name: 'ALMCFG'}); + pgm.dropTable({schema: "huawei_cm", name: 'ALMOBJMASKCFG'}); + pgm.dropTable({schema: "huawei_cm", name: 'ALMPORT'}); + pgm.dropTable({schema: "huawei_cm", name: 'ANRMEASUREPARAM'}); + pgm.dropTable({schema: "huawei_cm", name: 'ANTENNAPORT'}); + pgm.dropTable({schema: "huawei_cm", name: 'APPLICATION'}); + pgm.dropTable({schema: "huawei_cm", name: 'ASPARAGROUP'}); + pgm.dropTable({schema: "huawei_cm", name: 'AUTOPOWEROFF'}); + pgm.dropTable({schema: "huawei_cm", name: 'BBP'}); + pgm.dropTable({schema: "huawei_cm", name: 'BBUFAN'}); + pgm.dropTable({schema: "huawei_cm", name: 'BLINDNCELLOPT'}); + pgm.dropTable({schema: "huawei_cm", name: 'BRDRESASSIGNMENT'}); + pgm.dropTable({schema: "huawei_cm", name: 'CABINET'}); + pgm.dropTable({schema: "huawei_cm", name: 'CASCADEPORT'}); + pgm.dropTable({schema: "huawei_cm", name: 'CELLBACKOFF'}); + pgm.dropTable({schema: "huawei_cm", name: 'CELLCECFG'}); + pgm.dropTable({schema: "huawei_cm", name: 'CELLCESCHCFG'}); + pgm.dropTable({schema: "huawei_cm", name: 'CELLCOUNTERPARAGROUP'}); + pgm.dropTable({schema: "huawei_cm", name: 'CELLEICIC'}); + pgm.dropTable({schema: "huawei_cm", name: 'CELLMLBUESEL'}); + pgm.dropTable({schema: "huawei_cm", name: 'CELLMLBAUTOGROUP'}); + pgm.dropTable({schema: "huawei_cm", name: 'CELLEABALGOPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'CELLMBFCS'}); + pgm.dropTable({schema: "huawei_cm", name: 'CELLIICSPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'CELLLCSCFG'}); + pgm.dropTable({schema: "huawei_cm", name: 'CELLDYNPOWERSHARING'}); + pgm.dropTable({schema: "huawei_cm", name: 'CELLEMTCALGO'}); + pgm.dropTable({schema: "huawei_cm", name: 'CELLDRXSPECIALPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'CELLDACQCFG'}); + pgm.dropTable({schema: "huawei_cm", name: 'CELLCSIRSPARACFG'}); + pgm.dropTable({schema: "huawei_cm", name: 'CELLCQIADJALGO'}); + pgm.dropTable({schema: "huawei_cm", name: 'CELLCQIADAPTIVECFG'}); + pgm.dropTable({schema: "huawei_cm", name: 'ASWPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'OMUIPRT'}); + pgm.dropTable({schema: "huawei_cm", name: 'UCAPARATERANGE'}); + pgm.dropTable({schema: "huawei_cm", name: 'UCBSADDR'}); + pgm.dropTable({schema: "huawei_cm", name: 'UCBSIUBCITFTIMER'}); + pgm.dropTable({schema: "huawei_cm", name: 'UCDRFILE'}); + pgm.dropTable({schema: "huawei_cm", name: 'UCELLCBSDRX'}); + pgm.dropTable({schema: "huawei_cm", name: 'UCELLCBSSAC'}); + pgm.dropTable({schema: "huawei_cm", name: 'UCERRMTIMER'}); + pgm.dropTable({schema: "huawei_cm", name: 'UCHRCTRL'}); + pgm.dropTable({schema: "huawei_cm", name: 'UCHRSCOPE'}); + pgm.dropTable({schema: "huawei_cm", name: 'UCTCH'}); + pgm.dropTable({schema: "huawei_cm", name: 'UCTRLPLNFCPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'UDCHTHDRATERATIO'}); + pgm.dropTable({schema: "huawei_cm", name: 'UDPB'}); + pgm.dropTable({schema: "huawei_cm", name: 'UDSSPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'UE2EQOSPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'UEDCHTHDRATERATIO'}); + pgm.dropTable({schema: "huawei_cm", name: 'UEVENTCHRCTRL'}); + pgm.dropTable({schema: "huawei_cm", name: 'UGTPU'}); + pgm.dropTable({schema: "huawei_cm", name: 'UIMBFACH'}); + pgm.dropTable({schema: "huawei_cm", name: 'UIMBSWITCH'}); + pgm.dropTable({schema: "huawei_cm", name: 'UIUBTRIGHOPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'UKPISELFCUREPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'ULOCHPRIO'}); + pgm.dropTable({schema: "huawei_cm", name: 'UMRCTRL'}); + pgm.dropTable({schema: "huawei_cm", name: 'UMRSCOPE'}); + pgm.dropTable({schema: "huawei_cm", name: 'UNBMPARA'}); + pgm.dropTable({schema: "huawei_cm", name: 'UPERIODICRTTLCS'}); + pgm.dropTable({schema: "huawei_cm", name: 'URNCPOOLCFGCTRL'}); + pgm.dropTable({schema: "huawei_cm", name: 'USIRDISTOLPC'}); + pgm.dropTable({schema: "huawei_cm", name: 'USQICOUNT'}); + pgm.dropTable({schema: "huawei_cm", name: 'UTGPSCP'}); + pgm.dropTable({schema: "huawei_cm", name: 'UTYPRABDYNTF'}); + pgm.dropTable({schema: "huawei_cm", name: 'UTYPRABHSUPAPC'}); + pgm.dropTable({schema: "huawei_cm", name: 'UTYPRABSUBFLOW'}); + pgm.dropTable({schema: "huawei_cm", name: 'UTYPRABTOAW'}); + pgm.dropTable({schema: "huawei_cm", name: 'UTYPSRBBASIC'}); + pgm.dropTable({schema: "huawei_cm", name: 'UTYPSRBDYNTF'}); + pgm.dropTable({schema: "huawei_cm", name: 'UTYPSRBHSPA'}); + pgm.dropTable({schema: "huawei_cm", name: 'UTYPSRBHSUPAPC'}); + pgm.dropTable({schema: "huawei_cm", name: 'UTYPSRBOLPC'}); + pgm.dropTable({schema: "huawei_cm", name: 'UTYPSRBRLC'}); + pgm.dropTable({schema: "huawei_cm", name: 'UTYPSRBSEMISTATICTF'}); + pgm.dropTable({schema: "huawei_cm", name: 'UTYPSRBTOAW'}); + pgm.dropTable({schema: "huawei_cm", name: 'UVIPTRACESW'}); + + + //ACT,BLK,MOD tables + pgm.dropTable({schema: "huawei_cm", name: "AE1T1_MOD"}); + pgm.dropTable({schema: "huawei_cm", name: "BRD_MOD"}); + pgm.dropTable({schema: "huawei_cm", name: "BTS_ACT"}); + pgm.dropTable({schema: "huawei_cm", name: "CAB_MOD"}); + pgm.dropTable({schema: "huawei_cm", name: "G2GNCELL_MOD"}); + pgm.dropTable({schema: "huawei_cm", name: "MSP_ACT"}); + pgm.dropTable({schema: "huawei_cm", name: "MTP3LKS_ACT"}); + pgm.dropTable({schema: "huawei_cm", name: "MTP3LNK_ACT"}); + pgm.dropTable({schema: "huawei_cm", name: "SUBRACK_MOD"}); + pgm.dropTable({schema: "huawei_cm", name: "TRMMAP_MOD"}); + pgm.dropTable({schema: "huawei_cm", name: "BRD_MOD"}); + pgm.dropTable({schema: "huawei_cm", name: "CAB_MOD"}); + pgm.dropTable({schema: "huawei_cm", name: "ETHPORT_ACT"}); + pgm.dropTable({schema: "huawei_cm", name: "MSP_ACT"}); + pgm.dropTable({schema: "huawei_cm", name: "MTP3LKS_ACT"}); + pgm.dropTable({schema: "huawei_cm", name: "MTP3LNK_ACT"}); + pgm.dropTable({schema: "huawei_cm", name: "SUBRACK_MOD"}); + pgm.dropTable({schema: "huawei_cm", name: "TRMMAP_MOD"}); + pgm.dropTable({schema: "huawei_cm", name: "UCELLCBS_ACT"}); + pgm.dropTable({schema: "huawei_cm", name: "UCELLHSDPA_ACT"}); + pgm.dropTable({schema: "huawei_cm", name: "UCELLHSUPA_ACT"}); + pgm.dropTable({schema: "huawei_cm", name: "UCELL_ACT"}); + pgm.dropTable({schema: "huawei_cm", name: "UPRACH_ACT"}); + pgm.dropTable({schema: "huawei_cm", name: "USCCPCH_ACT"}); + pgm.dropTable({schema: "huawei_cm", name: "UTYPRAB_ACT"}); + pgm.dropTable({schema: "huawei_cm", name: "UTYPSRB_ACT"}); + +}; diff --git a/db/migrations/1564269635526_create-zte-cm-tables.js b/db/migrations/1564269635526_create-zte-cm-tables.js new file mode 100644 index 00000000..aa821164 --- /dev/null +++ b/db/migrations/1564269635526_create-zte-cm-tables.js @@ -0,0 +1,997 @@ +exports.up = (pgm) => { + pgm.noTransaction(); + + pgm.createTable({schema: "zte_cm", name: "BssFunction"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "BtsSiteManager"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "bulkCmConfigDataFile"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "CDMA2000Relation"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "configData"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "ENBFunction"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "EUtranCellFDD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "EUtranRelation"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "ExternalENBFunction"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "ExternalEUtranCellFDD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "ExternalEUtranCellTDD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "ExternalGsmCell"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "ExternalRncFunction"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "ExternalUtranCellFDD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "ExternalUtranCellTDD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "ExternalSector"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "fileFooter"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "fileHeader"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "GsmCell"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "GsmRelation"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "IubLink"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "ManagedElement"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "meContext"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "NodeBFunction"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "SubNetwork_2"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "SubNetwork"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "UtranCellFDD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "UtranRelation"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "Aal2Sp"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "AbisLink"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "AbisTrPathCir"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "AbisTrPath"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "AC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "ActDeviceSet"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "AdjSsn"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "Aich"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "AisgDevice"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "AisgDeviceSet"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "ALink"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "AmrEvtTPUeInt"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "AmrHandoverControl"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "ANR"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "AntDetectorG"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "AntEntity"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "AntProfile"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "AntService"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "AppPriMapping"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "AppPriMappingProfile"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "AppSrvType"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "Atm"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "ATrPathCir"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "ATrPath"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "AuxUnit"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "BandwidthResource"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "BandwidthResourceGroup"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "BasPri"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "BasPriMapping"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "Bfd"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "BlockActDevice"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "BMcsUnitAttr"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "Board"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "BoardAppliAttr"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "BpDevice"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "BpDeviceSet"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "BPortQosParam"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "BPriAc"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "BPriAcProfile"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "BssAmr"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "BssDynFreq"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "BssEmlpp"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "BssFunctionPS"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "BssFunctionRsv"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "BssFunctionTimer"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "BssFunctionUpRsv"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "BssHandoverControl"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "BssIfta"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "BssPrecisePaging"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "BtsEquipment"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "BtsFunction"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "BtsLapd"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "BtsM"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "Bvc"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "Cabinet"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "CciuHostIp"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "CDMA2000Reselection"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "CelInfoFDD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "CellAmr"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "CellEdge"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "CellIfta"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "CellMeasGroup"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "CellPrecisePaging"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "CellPs"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "CellPsNc2"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "CellRsv"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "CellUpRsv"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "CelSel"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "CfnOffset"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "CheckAbnormal"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "CHspa"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "ClockDevice"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "ClockDeviceSet"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "CMR"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "CnInfo"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "CoeNBXCIPLink"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "ComEdchEvUpTrv"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "ComHsdschEvUpTrv"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "CommEdch"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "CommMeas"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "CompressMode"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "ControlPlaneTimer"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "CpuCtrlPri"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "CpuLoadCtrl"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "CpuSunit"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "CrrmCellLd"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "CrrmNCellLdFDD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "CSIRSConfig"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "DchEvUeTrv"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "DchEvUpTrv"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "DchPrdUeTrv"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "DedEdchEvUpTrv"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "DedIBHsdschEvUpTrv"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "DedSHsdschEvUpTrv"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "DedSrvTb"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "DedSrvTbProfile"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "Dhcp"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "DiamondUserGlobalPara"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "DiamondUserImsiList"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "DiamondUserSrvPc"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "DpiAlgParam"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "DpiAppSrv"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "DpiAppSrvPri"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "DpiAppSrvProfile"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "DpiBasPriMapping"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "DpiDrbc"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "Dpi"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "DpiPartnerIp"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "DpiPartnerName"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "DpiProcMap"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "Drbc"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "DrbcProfile"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "DryContactDevice"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "DryContactDeviceSet"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "DTM"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "DtxDrx"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "DtxDrxProfile"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "DynPwShare"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "E1Device"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "E1DeviceSet"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "ECellEquipmentFunction"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "EdchRcDch"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "EdchRcDchProfile"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "EdchRcFach"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "EdchtoDchUpTrv"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "EFach"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "EFachPch"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "EhancedEdge"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "EMLP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "EmlppUserPriority"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "ENBFunctionFDD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "ENBServicePrior"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "EnvMonDevice"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "EnvMonDeviceSet"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "EPm"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "Equipment"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "EthernetLink"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "EthernetPort"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "EthernetTp"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "EthernetVlanTp"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "EthIpSubIntf"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "EthOam"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "ETTIEdchEvUpTrv"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "EUtranCellMeasurement"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "EutranMeasure"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "EutranRelation"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "EUtranReselection"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "EvtRttUeInt"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "ExpConNtf"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "FachEvUpTrv"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "FanCtrlActDevice"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "FanDevice"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "FanDeviceSet"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "FeDevice"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "FeDeviceSet"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "FhHandoverControl"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "FiberCable"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "FiberDevice"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "FiberDeviceSet"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "FreqAdj"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "FrequencyConfig"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "FTPInfoCfg"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "FullSignalTrace"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "GbLink"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "GbrResLimit"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "GbrResLimitProfile"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "GCellEquipmentFunction"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "GCell"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "GeDevice"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "GeDeviceSet"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "GloAc"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "Global1588Config"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "GlobalQoS"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "GlobleSwitchInformation"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "GprsEdgeSchedule"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "GsmReselection"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "GsmVpcRelation"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "GTrx"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "HandoverControl"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "HetNeteICICConfig"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "HoEvtTPUeInt"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "HoppingBaseband"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "HoppingFrequency"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "Hspa"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "HwInfoQryActDevice"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "HwRstActDevice"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "ICIC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "IDEAlarm"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "ImsiSnacFilter"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "InterEcNoEvMeasforE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "InterEcNoEvMeasforG"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "InterEcNoEvMeasforU"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "InterEcNoPrdMeas"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "Interfaces"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "InterMeasNoSrvSpec"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "InterMeasProfile"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "InterMeaSrvSpec"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "InterRscpEvMeasforE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "InterRscpEvMeasforG"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "InterRscpEvMeasforU"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "InterRscpPrdMeas"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "IntraEcNoEvMeas"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "IntraEcNoEvMeasForD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "IntraEcNoPrdMeas"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "IntraMeasNoSrvSpec"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "IntraMeasProfile"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "IntraMeasSrvSpec"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "IntraRscpEvMeas"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "IntraRscpEvMeasForD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "IntraRscpPrdMeas"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "Ipbm"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "IpClockProfile"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "Ip"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "IpGbLocalEP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "IpGbNse"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "IpLayerConfig"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "IpLicense"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "IpOam"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "IPPD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "IPSecGLConfig"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "IpSlaExTask"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "Ir"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "ItfUniBts"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "IubTrPathCir"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "IubTrPath"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "IuCnst"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "IucsLink"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "IupsLink"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "IupsTrPathCir"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "IupsTrPath"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "IurgLink"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "IurLink"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "IurTrPathCir"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "IurTrPath"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "LbIpIntf"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "LdCtrl"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "LoadManagement"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "LocalPlmnGroup"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "LocalSp"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "LocalSSn"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "LocationArea"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "LogDestination"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "LogicalAbisLink"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "LogicalALink"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "LogicalCell"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "LogicalCpu"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "LogicalEthPort"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "LogicalGbLink"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "LogicalIubLink"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "LogicalIupsLink"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "LogicalIupsLinkGroup"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "LogicalIurgLink"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "LogicalIurLink"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "LogicalIurQos"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "LogicalMgwLink"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "LogicalMscLink"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "LogicalMscLinkGroup"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "LogicalRnc"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "LogServices"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "M3uaAs"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "M3uaAsp"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "M3uaRoute"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "M3uaRouteSet"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "Mbms"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "MbmsFreq"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "MbmsSa"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "McDevice"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "McDeviceSet"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "MgwTrPathCir"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "MgwTrPath"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "MobileSpeedHO"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "MobilityManagement"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "ModuleCluster"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "Module"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "MPlmn"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "MPO"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "MPOProfile"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "MR"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "MsActDevice"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "MscLink"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "NACC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "NbapCSignalling"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "NbapDSignalling"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "NbapLink"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "NbComMeas"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "NbComMeasProfile"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "NbDedMeas"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "NbDedMeasProfile"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "Nri"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "OmcChannel"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "OmCon"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "Operator"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "Pa"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "Paging"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "PchEvUeTrv"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "PciSection"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "PcuInfo"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "PDCP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "PhyChannel"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "PhyLayerPort"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "PhysCpu"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "PicoSonMeasCfg"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "PlBal"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "PlmnAdjFunction"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "Plmn"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "PlmnGroup"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "PlmnSpecFunction"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "PlugInUnit"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "PmDevice"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "PmDeviceSet"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "PoRstActDevice"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "PositionConfig"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "PowerControlDL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "PowerControl"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "PowerControlUL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "PowerOutletDevice"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "PowerOutletDeviceSet"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "PowerSave"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "PowerSaving"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "PrachFDD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "Prach"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "PrdRttUeInt"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "PriorityResel"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "PriSel"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "PsChannelSchedule"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "PsEvtTPUeInt"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "PsHandoverControl"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "PsPowerControl"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "PsUserAndSrvType"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "Ptp"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "PtpPort"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "PubFunctionPara"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "PwOptimize"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "PwrLimTPUeInt"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "QChat"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "QoSDSCPMapping"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "QoS"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "QosFunction"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "QoSPBRMapping"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "QoSPRIMapping"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "QoSServiceClass"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "RachEvtUeTrv"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "RachPrdUeTrv"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "Rack"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "RatEcNoEvMeasforE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "RatEcNoEvMeasforG"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "RatEcNoPrdMeas"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "RatMeasNoSrvSpec"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "RatMeasProfile"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "RatMeasSrvSpec"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "RatRscpEvMeasforE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "RatRscpEvMeasforG"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "RatRscpPrdMeas"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "RemoteSp"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "RfCable"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "RfDevice"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "RfDeviceSet"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "RfExtendCable"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "RlEvtRttUeInt"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "RncFunction"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "RncInfo"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "RncPool"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "RnluCfg"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "Routes"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "RoutingArea"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "RrcCategoryBasPriMapping"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "RrcCategoryMapping"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "RstActDevice"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "RsvdUeGlobalPara"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "RsvdUeImsiList"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "RsvdUserSrvPc"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "RxChannel"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "S1Ap"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "Sccpch"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "ScHandoverControl"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "SchPriMapping"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "SchPriMappingProfile"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "SctpAssociation"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "Sctp"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "SctpPlmn"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "SdHandoverControl"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "SdrDeviceGroup"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "Security"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "SecurityManagement"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "SelfHealCfg"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "SerialPortDevice"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "SerialPortDeviceSet"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "ServiceArea"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "ServiceDrx"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "ServiceIp"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "ServiceMAC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "ServiceMap"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "Shelf"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "SignalProcSTG"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "SignalResCfg"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "SignalTraceCfg"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "SIScheduling"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "Slot"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "SonCellPolicy"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "SonControl"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "SoneNBPolicy"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "SonPolicyAnr"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "SonPolicyX2"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "SonSwitch"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "SPSConfig"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "SrvBasedHo"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "SrvDivPc"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "SrvFunction"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "SrvPc"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "SrvPcProfile"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "Ss7"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "StActDevice"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "StaticRoute"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "StatRefreshActDevice"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "SubCell"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "SubCellPsAlloc"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "SubRack"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "SubSrv"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "SubSystem"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "SubTrPathGroup"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "SystemFuctions"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "SystemFunction"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "T1Device"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "T1DeviceSet"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "TbType"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "TbTypeProfile"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "TimeConfig"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "TimeDevice"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "TimeDeviceSet"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "TimeZone"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "Tma"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "TransportNetwork"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "TrPathGroup"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "TrvMeasProfile"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "Trx"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "Ts"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "TxChannel"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "TxChannelFilterConfig"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "Udp"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "UDPPORTNUM"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "UeCnst"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "UeEUtranMeasurement"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "UeIntMeasProfile"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "UeRATMeasurement"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "UeTimer"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "ULocalCell"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "ULocalCellRelation"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "Umsyn"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "Unit"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "UpHostIp"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "UpIpSys"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "UpSlave"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "UpSlaveSunit"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "USector"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "UserAndSrvBasedSche"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "UtranCellReselectionFDD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "UtranHandoverControl"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "UtranMeasure"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "UtranRegArea"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "UtranReselectionFDD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "UtranReselectionTDD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "Vamos"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "VIpIntf"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "VipUeList"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "VsOam"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "zte_cm", name: "X2Ap"}, {id: "id", load_datetime: "load_datetime", data: "data"}); +}; + +exports.down = (pgm) => {; + pgm.noTransaction(); + + pgm.dropTable({schema: "zte_cm", name: 'BssFunction'}); + pgm.dropTable({schema: "zte_cm", name: 'BtsSiteManager'}); + pgm.dropTable({schema: "zte_cm", name: 'bulkCmConfigDataFile'}); + pgm.dropTable({schema: "zte_cm", name: 'CDMA2000Relation'}); + pgm.dropTable({schema: "zte_cm", name: 'configData'}); + pgm.dropTable({schema: "zte_cm", name: 'ENBFunction'}); + pgm.dropTable({schema: "zte_cm", name: 'EUtranCellFDD'}); + pgm.dropTable({schema: "zte_cm", name: 'EUtranRelation'}); + pgm.dropTable({schema: "zte_cm", name: 'ExternalENBFunction'}); + pgm.dropTable({schema: "zte_cm", name: 'ExternalEUtranCellFDD'}); + pgm.dropTable({schema: "zte_cm", name: 'ExternalEUtranCellTDD'}); + pgm.dropTable({schema: "zte_cm", name: 'ExternalGsmCell'}); + pgm.dropTable({schema: "zte_cm", name: 'ExternalRncFunction'}); + pgm.dropTable({schema: "zte_cm", name: 'ExternalUtranCellFDD'}); + pgm.dropTable({schema: "zte_cm", name: 'ExternalUtranCellTDD'}); + pgm.dropTable({schema: "zte_cm", name: 'ExternalSector'}); + pgm.dropTable({schema: "zte_cm", name: 'fileFooter'}); + pgm.dropTable({schema: "zte_cm", name: 'fileHeader'}); + pgm.dropTable({schema: "zte_cm", name: 'GsmCell'}); + pgm.dropTable({schema: "zte_cm", name: 'GsmRelation'}); + pgm.dropTable({schema: "zte_cm", name: 'IubLink'}); + pgm.dropTable({schema: "zte_cm", name: 'ManagedElement'}); + pgm.dropTable({schema: "zte_cm", name: 'meContext'}); + pgm.dropTable({schema: "zte_cm", name: 'NodeBFunction'}); + pgm.dropTable({schema: "zte_cm", name: 'SubNetwork_2'}); + pgm.dropTable({schema: "zte_cm", name: 'SubNetwork'}); + pgm.dropTable({schema: "zte_cm", name: 'UtranCellFDD'}); + pgm.dropTable({schema: "zte_cm", name: 'UtranRelation'}); + pgm.dropTable({schema: "zte_cm", name: 'Aal2Sp'}); + pgm.dropTable({schema: "zte_cm", name: 'AbisLink'}); + pgm.dropTable({schema: "zte_cm", name: 'AbisTrPathCir'}); + pgm.dropTable({schema: "zte_cm", name: 'AbisTrPath'}); + pgm.dropTable({schema: "zte_cm", name: 'AC'}); + pgm.dropTable({schema: "zte_cm", name: 'ActDeviceSet'}); + pgm.dropTable({schema: "zte_cm", name: 'AdjSsn'}); + pgm.dropTable({schema: "zte_cm", name: 'Aich'}); + pgm.dropTable({schema: "zte_cm", name: 'AisgDevice'}); + pgm.dropTable({schema: "zte_cm", name: 'AisgDeviceSet'}); + pgm.dropTable({schema: "zte_cm", name: 'ALink'}); + pgm.dropTable({schema: "zte_cm", name: 'AmrEvtTPUeInt'}); + pgm.dropTable({schema: "zte_cm", name: 'AmrHandoverControl'}); + pgm.dropTable({schema: "zte_cm", name: 'ANR'}); + pgm.dropTable({schema: "zte_cm", name: 'AntDetectorG'}); + pgm.dropTable({schema: "zte_cm", name: 'AntEntity'}); + pgm.dropTable({schema: "zte_cm", name: 'AntProfile'}); + pgm.dropTable({schema: "zte_cm", name: 'AntService'}); + pgm.dropTable({schema: "zte_cm", name: 'AppPriMapping'}); + pgm.dropTable({schema: "zte_cm", name: 'AppPriMappingProfile'}); + pgm.dropTable({schema: "zte_cm", name: 'AppSrvType'}); + pgm.dropTable({schema: "zte_cm", name: 'Atm'}); + pgm.dropTable({schema: "zte_cm", name: 'ATrPathCir'}); + pgm.dropTable({schema: "zte_cm", name: 'ATrPath'}); + pgm.dropTable({schema: "zte_cm", name: 'AuxUnit'}); + pgm.dropTable({schema: "zte_cm", name: 'BandwidthResource'}); + pgm.dropTable({schema: "zte_cm", name: 'BandwidthResourceGroup'}); + pgm.dropTable({schema: "zte_cm", name: 'BasPri'}); + pgm.dropTable({schema: "zte_cm", name: 'BasPriMapping'}); + pgm.dropTable({schema: "zte_cm", name: 'Bfd'}); + pgm.dropTable({schema: "zte_cm", name: 'BlockActDevice'}); + pgm.dropTable({schema: "zte_cm", name: 'BMcsUnitAttr'}); + pgm.dropTable({schema: "zte_cm", name: 'Board'}); + pgm.dropTable({schema: "zte_cm", name: 'BoardAppliAttr'}); + pgm.dropTable({schema: "zte_cm", name: 'BpDevice'}); + pgm.dropTable({schema: "zte_cm", name: 'BpDeviceSet'}); + pgm.dropTable({schema: "zte_cm", name: 'BPortQosParam'}); + pgm.dropTable({schema: "zte_cm", name: 'BPriAc'}); + pgm.dropTable({schema: "zte_cm", name: 'BPriAcProfile'}); + pgm.dropTable({schema: "zte_cm", name: 'BssAmr'}); + pgm.dropTable({schema: "zte_cm", name: 'BssDynFreq'}); + pgm.dropTable({schema: "zte_cm", name: 'BssEmlpp'}); + pgm.dropTable({schema: "zte_cm", name: 'BssFunctionPS'}); + pgm.dropTable({schema: "zte_cm", name: 'BssFunctionRsv'}); + pgm.dropTable({schema: "zte_cm", name: 'BssFunctionTimer'}); + pgm.dropTable({schema: "zte_cm", name: 'BssFunctionUpRsv'}); + pgm.dropTable({schema: "zte_cm", name: 'BssHandoverControl'}); + pgm.dropTable({schema: "zte_cm", name: 'BssIfta'}); + pgm.dropTable({schema: "zte_cm", name: 'BssPrecisePaging'}); + pgm.dropTable({schema: "zte_cm", name: 'BtsEquipment'}); + pgm.dropTable({schema: "zte_cm", name: 'BtsFunction'}); + pgm.dropTable({schema: "zte_cm", name: 'BtsLapd'}); + pgm.dropTable({schema: "zte_cm", name: 'BtsM'}); + pgm.dropTable({schema: "zte_cm", name: 'Bvc'}); + pgm.dropTable({schema: "zte_cm", name: 'Cabinet'}); + pgm.dropTable({schema: "zte_cm", name: 'CciuHostIp'}); + pgm.dropTable({schema: "zte_cm", name: 'CDMA2000Reselection'}); + pgm.dropTable({schema: "zte_cm", name: 'CelInfoFDD'}); + pgm.dropTable({schema: "zte_cm", name: 'CellAmr'}); + pgm.dropTable({schema: "zte_cm", name: 'CellEdge'}); + pgm.dropTable({schema: "zte_cm", name: 'CellIfta'}); + pgm.dropTable({schema: "zte_cm", name: 'CellMeasGroup'}); + pgm.dropTable({schema: "zte_cm", name: 'CellPrecisePaging'}); + pgm.dropTable({schema: "zte_cm", name: 'CellPs'}); + pgm.dropTable({schema: "zte_cm", name: 'CellPsNc2'}); + pgm.dropTable({schema: "zte_cm", name: 'CellRsv'}); + pgm.dropTable({schema: "zte_cm", name: 'CellUpRsv'}); + pgm.dropTable({schema: "zte_cm", name: 'CelSel'}); + pgm.dropTable({schema: "zte_cm", name: 'CfnOffset'}); + pgm.dropTable({schema: "zte_cm", name: 'CheckAbnormal'}); + pgm.dropTable({schema: "zte_cm", name: 'CHspa'}); + pgm.dropTable({schema: "zte_cm", name: 'ClockDevice'}); + pgm.dropTable({schema: "zte_cm", name: 'ClockDeviceSet'}); + pgm.dropTable({schema: "zte_cm", name: 'CMR'}); + pgm.dropTable({schema: "zte_cm", name: 'CnInfo'}); + pgm.dropTable({schema: "zte_cm", name: 'CoeNBXCIPLink'}); + pgm.dropTable({schema: "zte_cm", name: 'ComEdchEvUpTrv'}); + pgm.dropTable({schema: "zte_cm", name: 'ComHsdschEvUpTrv'}); + pgm.dropTable({schema: "zte_cm", name: 'CommEdch'}); + pgm.dropTable({schema: "zte_cm", name: 'CommMeas'}); + pgm.dropTable({schema: "zte_cm", name: 'CompressMode'}); + pgm.dropTable({schema: "zte_cm", name: 'ControlPlaneTimer'}); + pgm.dropTable({schema: "zte_cm", name: 'CpuCtrlPri'}); + pgm.dropTable({schema: "zte_cm", name: 'CpuLoadCtrl'}); + pgm.dropTable({schema: "zte_cm", name: 'CpuSunit'}); + pgm.dropTable({schema: "zte_cm", name: 'CrrmCellLd'}); + pgm.dropTable({schema: "zte_cm", name: 'CrrmNCellLdFDD'}); + pgm.dropTable({schema: "zte_cm", name: 'CSIRSConfig'}); + pgm.dropTable({schema: "zte_cm", name: 'DchEvUeTrv'}); + pgm.dropTable({schema: "zte_cm", name: 'DchEvUpTrv'}); + pgm.dropTable({schema: "zte_cm", name: 'DchPrdUeTrv'}); + pgm.dropTable({schema: "zte_cm", name: 'DedEdchEvUpTrv'}); + pgm.dropTable({schema: "zte_cm", name: 'DedIBHsdschEvUpTrv'}); + pgm.dropTable({schema: "zte_cm", name: 'DedSHsdschEvUpTrv'}); + pgm.dropTable({schema: "zte_cm", name: 'DedSrvTb'}); + pgm.dropTable({schema: "zte_cm", name: 'DedSrvTbProfile'}); + pgm.dropTable({schema: "zte_cm", name: 'Dhcp'}); + pgm.dropTable({schema: "zte_cm", name: 'DiamondUserGlobalPara'}); + pgm.dropTable({schema: "zte_cm", name: 'DiamondUserImsiList'}); + pgm.dropTable({schema: "zte_cm", name: 'DiamondUserSrvPc'}); + pgm.dropTable({schema: "zte_cm", name: 'DpiAlgParam'}); + pgm.dropTable({schema: "zte_cm", name: 'DpiAppSrv'}); + pgm.dropTable({schema: "zte_cm", name: 'DpiAppSrvPri'}); + pgm.dropTable({schema: "zte_cm", name: 'DpiAppSrvProfile'}); + pgm.dropTable({schema: "zte_cm", name: 'DpiBasPriMapping'}); + pgm.dropTable({schema: "zte_cm", name: 'DpiDrbc'}); + pgm.dropTable({schema: "zte_cm", name: 'Dpi'}); + pgm.dropTable({schema: "zte_cm", name: 'DpiPartnerIp'}); + pgm.dropTable({schema: "zte_cm", name: 'DpiPartnerName'}); + pgm.dropTable({schema: "zte_cm", name: 'DpiProcMap'}); + pgm.dropTable({schema: "zte_cm", name: 'Drbc'}); + pgm.dropTable({schema: "zte_cm", name: 'DrbcProfile'}); + pgm.dropTable({schema: "zte_cm", name: 'DryContactDevice'}); + pgm.dropTable({schema: "zte_cm", name: 'DryContactDeviceSet'}); + pgm.dropTable({schema: "zte_cm", name: 'DTM'}); + pgm.dropTable({schema: "zte_cm", name: 'DtxDrx'}); + pgm.dropTable({schema: "zte_cm", name: 'DtxDrxProfile'}); + pgm.dropTable({schema: "zte_cm", name: 'DynPwShare'}); + pgm.dropTable({schema: "zte_cm", name: 'E1Device'}); + pgm.dropTable({schema: "zte_cm", name: 'E1DeviceSet'}); + pgm.dropTable({schema: "zte_cm", name: 'ECellEquipmentFunction'}); + pgm.dropTable({schema: "zte_cm", name: 'EdchRcDch'}); + pgm.dropTable({schema: "zte_cm", name: 'EdchRcDchProfile'}); + pgm.dropTable({schema: "zte_cm", name: 'EdchRcFach'}); + pgm.dropTable({schema: "zte_cm", name: 'EdchtoDchUpTrv'}); + pgm.dropTable({schema: "zte_cm", name: 'EFach'}); + pgm.dropTable({schema: "zte_cm", name: 'EFachPch'}); + pgm.dropTable({schema: "zte_cm", name: 'EhancedEdge'}); + pgm.dropTable({schema: "zte_cm", name: 'EMLP'}); + pgm.dropTable({schema: "zte_cm", name: 'EmlppUserPriority'}); + pgm.dropTable({schema: "zte_cm", name: 'ENBFunctionFDD'}); + pgm.dropTable({schema: "zte_cm", name: 'ENBServicePrior'}); + pgm.dropTable({schema: "zte_cm", name: 'EnvMonDevice'}); + pgm.dropTable({schema: "zte_cm", name: 'EnvMonDeviceSet'}); + pgm.dropTable({schema: "zte_cm", name: 'EPm'}); + pgm.dropTable({schema: "zte_cm", name: 'Equipment'}); + pgm.dropTable({schema: "zte_cm", name: 'EthernetLink'}); + pgm.dropTable({schema: "zte_cm", name: 'EthernetPort'}); + pgm.dropTable({schema: "zte_cm", name: 'EthernetTp'}); + pgm.dropTable({schema: "zte_cm", name: 'EthernetVlanTp'}); + pgm.dropTable({schema: "zte_cm", name: 'EthIpSubIntf'}); + pgm.dropTable({schema: "zte_cm", name: 'EthOam'}); + pgm.dropTable({schema: "zte_cm", name: 'ETTIEdchEvUpTrv'}); + pgm.dropTable({schema: "zte_cm", name: 'EUtranCellMeasurement'}); + pgm.dropTable({schema: "zte_cm", name: 'EutranMeasure'}); + pgm.dropTable({schema: "zte_cm", name: 'EutranRelation'}); + pgm.dropTable({schema: "zte_cm", name: 'EUtranReselection'}); + pgm.dropTable({schema: "zte_cm", name: 'EvtRttUeInt'}); + pgm.dropTable({schema: "zte_cm", name: 'ExpConNtf'}); + pgm.dropTable({schema: "zte_cm", name: 'FachEvUpTrv'}); + pgm.dropTable({schema: "zte_cm", name: 'FanCtrlActDevice'}); + pgm.dropTable({schema: "zte_cm", name: 'FanDevice'}); + pgm.dropTable({schema: "zte_cm", name: 'FanDeviceSet'}); + pgm.dropTable({schema: "zte_cm", name: 'FeDevice'}); + pgm.dropTable({schema: "zte_cm", name: 'FeDeviceSet'}); + pgm.dropTable({schema: "zte_cm", name: 'FhHandoverControl'}); + pgm.dropTable({schema: "zte_cm", name: 'FiberCable'}); + pgm.dropTable({schema: "zte_cm", name: 'FiberDevice'}); + pgm.dropTable({schema: "zte_cm", name: 'FiberDeviceSet'}); + pgm.dropTable({schema: "zte_cm", name: 'FreqAdj'}); + pgm.dropTable({schema: "zte_cm", name: 'FrequencyConfig'}); + pgm.dropTable({schema: "zte_cm", name: 'FTPInfoCfg'}); + pgm.dropTable({schema: "zte_cm", name: 'FullSignalTrace'}); + pgm.dropTable({schema: "zte_cm", name: 'GbLink'}); + pgm.dropTable({schema: "zte_cm", name: 'GbrResLimit'}); + pgm.dropTable({schema: "zte_cm", name: 'GbrResLimitProfile'}); + pgm.dropTable({schema: "zte_cm", name: 'GCellEquipmentFunction'}); + pgm.dropTable({schema: "zte_cm", name: 'GCell'}); + pgm.dropTable({schema: "zte_cm", name: 'GeDevice'}); + pgm.dropTable({schema: "zte_cm", name: 'GeDeviceSet'}); + pgm.dropTable({schema: "zte_cm", name: 'GloAc'}); + pgm.dropTable({schema: "zte_cm", name: 'Global1588Config'}); + pgm.dropTable({schema: "zte_cm", name: 'GlobalQoS'}); + pgm.dropTable({schema: "zte_cm", name: 'GlobleSwitchInformation'}); + pgm.dropTable({schema: "zte_cm", name: 'GprsEdgeSchedule'}); + pgm.dropTable({schema: "zte_cm", name: 'GsmReselection'}); + pgm.dropTable({schema: "zte_cm", name: 'GsmVpcRelation'}); + pgm.dropTable({schema: "zte_cm", name: 'GTrx'}); + pgm.dropTable({schema: "zte_cm", name: 'HandoverControl'}); + pgm.dropTable({schema: "zte_cm", name: 'HetNeteICICConfig'}); + pgm.dropTable({schema: "zte_cm", name: 'HoEvtTPUeInt'}); + pgm.dropTable({schema: "zte_cm", name: 'HoppingBaseband'}); + pgm.dropTable({schema: "zte_cm", name: 'HoppingFrequency'}); + pgm.dropTable({schema: "zte_cm", name: 'Hspa'}); + pgm.dropTable({schema: "zte_cm", name: 'HwInfoQryActDevice'}); + pgm.dropTable({schema: "zte_cm", name: 'HwRstActDevice'}); + pgm.dropTable({schema: "zte_cm", name: 'ICIC'}); + pgm.dropTable({schema: "zte_cm", name: 'IDEAlarm'}); + pgm.dropTable({schema: "zte_cm", name: 'ImsiSnacFilter'}); + pgm.dropTable({schema: "zte_cm", name: 'InterEcNoEvMeasforE'}); + pgm.dropTable({schema: "zte_cm", name: 'InterEcNoEvMeasforG'}); + pgm.dropTable({schema: "zte_cm", name: 'InterEcNoEvMeasforU'}); + pgm.dropTable({schema: "zte_cm", name: 'InterEcNoPrdMeas'}); + pgm.dropTable({schema: "zte_cm", name: 'Interfaces'}); + pgm.dropTable({schema: "zte_cm", name: 'InterMeasNoSrvSpec'}); + pgm.dropTable({schema: "zte_cm", name: 'InterMeasProfile'}); + pgm.dropTable({schema: "zte_cm", name: 'InterMeaSrvSpec'}); + pgm.dropTable({schema: "zte_cm", name: 'InterRscpEvMeasforE'}); + pgm.dropTable({schema: "zte_cm", name: 'InterRscpEvMeasforG'}); + pgm.dropTable({schema: "zte_cm", name: 'InterRscpEvMeasforU'}); + pgm.dropTable({schema: "zte_cm", name: 'InterRscpPrdMeas'}); + pgm.dropTable({schema: "zte_cm", name: 'IntraEcNoEvMeas'}); + pgm.dropTable({schema: "zte_cm", name: 'IntraEcNoEvMeasForD'}); + pgm.dropTable({schema: "zte_cm", name: 'IntraEcNoPrdMeas'}); + pgm.dropTable({schema: "zte_cm", name: 'IntraMeasNoSrvSpec'}); + pgm.dropTable({schema: "zte_cm", name: 'IntraMeasProfile'}); + pgm.dropTable({schema: "zte_cm", name: 'IntraMeasSrvSpec'}); + pgm.dropTable({schema: "zte_cm", name: 'IntraRscpEvMeas'}); + pgm.dropTable({schema: "zte_cm", name: 'IntraRscpEvMeasForD'}); + pgm.dropTable({schema: "zte_cm", name: 'IntraRscpPrdMeas'}); + pgm.dropTable({schema: "zte_cm", name: 'Ipbm'}); + pgm.dropTable({schema: "zte_cm", name: 'IpClockProfile'}); + pgm.dropTable({schema: "zte_cm", name: 'Ip'}); + pgm.dropTable({schema: "zte_cm", name: 'IpGbLocalEP'}); + pgm.dropTable({schema: "zte_cm", name: 'IpGbNse'}); + pgm.dropTable({schema: "zte_cm", name: 'IpLayerConfig'}); + pgm.dropTable({schema: "zte_cm", name: 'IpLicense'}); + pgm.dropTable({schema: "zte_cm", name: 'IpOam'}); + pgm.dropTable({schema: "zte_cm", name: 'IPPD'}); + pgm.dropTable({schema: "zte_cm", name: 'IPSecGLConfig'}); + pgm.dropTable({schema: "zte_cm", name: 'IpSlaExTask'}); + pgm.dropTable({schema: "zte_cm", name: 'Ir'}); + pgm.dropTable({schema: "zte_cm", name: 'ItfUniBts'}); + pgm.dropTable({schema: "zte_cm", name: 'IubTrPathCir'}); + pgm.dropTable({schema: "zte_cm", name: 'IubTrPath'}); + pgm.dropTable({schema: "zte_cm", name: 'IuCnst'}); + pgm.dropTable({schema: "zte_cm", name: 'IucsLink'}); + pgm.dropTable({schema: "zte_cm", name: 'IupsLink'}); + pgm.dropTable({schema: "zte_cm", name: 'IupsTrPathCir'}); + pgm.dropTable({schema: "zte_cm", name: 'IupsTrPath'}); + pgm.dropTable({schema: "zte_cm", name: 'IurgLink'}); + pgm.dropTable({schema: "zte_cm", name: 'IurLink'}); + pgm.dropTable({schema: "zte_cm", name: 'IurTrPathCir'}); + pgm.dropTable({schema: "zte_cm", name: 'IurTrPath'}); + pgm.dropTable({schema: "zte_cm", name: 'LbIpIntf'}); + pgm.dropTable({schema: "zte_cm", name: 'LdCtrl'}); + pgm.dropTable({schema: "zte_cm", name: 'LoadManagement'}); + pgm.dropTable({schema: "zte_cm", name: 'LocalPlmnGroup'}); + pgm.dropTable({schema: "zte_cm", name: 'LocalSp'}); + pgm.dropTable({schema: "zte_cm", name: 'LocalSSn'}); + pgm.dropTable({schema: "zte_cm", name: 'LocationArea'}); + pgm.dropTable({schema: "zte_cm", name: 'LogDestination'}); + pgm.dropTable({schema: "zte_cm", name: 'LogicalAbisLink'}); + pgm.dropTable({schema: "zte_cm", name: 'LogicalALink'}); + pgm.dropTable({schema: "zte_cm", name: 'LogicalCell'}); + pgm.dropTable({schema: "zte_cm", name: 'LogicalCpu'}); + pgm.dropTable({schema: "zte_cm", name: 'LogicalEthPort'}); + pgm.dropTable({schema: "zte_cm", name: 'LogicalGbLink'}); + pgm.dropTable({schema: "zte_cm", name: 'LogicalIubLink'}); + pgm.dropTable({schema: "zte_cm", name: 'LogicalIupsLink'}); + pgm.dropTable({schema: "zte_cm", name: 'LogicalIupsLinkGroup'}); + pgm.dropTable({schema: "zte_cm", name: 'LogicalIurgLink'}); + pgm.dropTable({schema: "zte_cm", name: 'LogicalIurLink'}); + pgm.dropTable({schema: "zte_cm", name: 'LogicalIurQos'}); + pgm.dropTable({schema: "zte_cm", name: 'LogicalMgwLink'}); + pgm.dropTable({schema: "zte_cm", name: 'LogicalMscLink'}); + pgm.dropTable({schema: "zte_cm", name: 'LogicalMscLinkGroup'}); + pgm.dropTable({schema: "zte_cm", name: 'LogicalRnc'}); + pgm.dropTable({schema: "zte_cm", name: 'LogServices'}); + pgm.dropTable({schema: "zte_cm", name: 'M3uaAs'}); + pgm.dropTable({schema: "zte_cm", name: 'M3uaAsp'}); + pgm.dropTable({schema: "zte_cm", name: 'M3uaRoute'}); + pgm.dropTable({schema: "zte_cm", name: 'M3uaRouteSet'}); + pgm.dropTable({schema: "zte_cm", name: 'Mbms'}); + pgm.dropTable({schema: "zte_cm", name: 'MbmsFreq'}); + pgm.dropTable({schema: "zte_cm", name: 'MbmsSa'}); + pgm.dropTable({schema: "zte_cm", name: 'McDevice'}); + pgm.dropTable({schema: "zte_cm", name: 'McDeviceSet'}); + pgm.dropTable({schema: "zte_cm", name: 'MgwTrPathCir'}); + pgm.dropTable({schema: "zte_cm", name: 'MgwTrPath'}); + pgm.dropTable({schema: "zte_cm", name: 'MobileSpeedHO'}); + pgm.dropTable({schema: "zte_cm", name: 'MobilityManagement'}); + pgm.dropTable({schema: "zte_cm", name: 'ModuleCluster'}); + pgm.dropTable({schema: "zte_cm", name: 'Module'}); + pgm.dropTable({schema: "zte_cm", name: 'MPlmn'}); + pgm.dropTable({schema: "zte_cm", name: 'MPO'}); + pgm.dropTable({schema: "zte_cm", name: 'MPOProfile'}); + pgm.dropTable({schema: "zte_cm", name: 'MR'}); + pgm.dropTable({schema: "zte_cm", name: 'MsActDevice'}); + pgm.dropTable({schema: "zte_cm", name: 'MscLink'}); + pgm.dropTable({schema: "zte_cm", name: 'NACC'}); + pgm.dropTable({schema: "zte_cm", name: 'NbapCSignalling'}); + pgm.dropTable({schema: "zte_cm", name: 'NbapDSignalling'}); + pgm.dropTable({schema: "zte_cm", name: 'NbapLink'}); + pgm.dropTable({schema: "zte_cm", name: 'NbComMeas'}); + pgm.dropTable({schema: "zte_cm", name: 'NbComMeasProfile'}); + pgm.dropTable({schema: "zte_cm", name: 'NbDedMeas'}); + pgm.dropTable({schema: "zte_cm", name: 'NbDedMeasProfile'}); + pgm.dropTable({schema: "zte_cm", name: 'Nri'}); + pgm.dropTable({schema: "zte_cm", name: 'OmcChannel'}); + pgm.dropTable({schema: "zte_cm", name: 'OmCon'}); + pgm.dropTable({schema: "zte_cm", name: 'Operator'}); + pgm.dropTable({schema: "zte_cm", name: 'Pa'}); + pgm.dropTable({schema: "zte_cm", name: 'Paging'}); + pgm.dropTable({schema: "zte_cm", name: 'PchEvUeTrv'}); + pgm.dropTable({schema: "zte_cm", name: 'PciSection'}); + pgm.dropTable({schema: "zte_cm", name: 'PcuInfo'}); + pgm.dropTable({schema: "zte_cm", name: 'PDCP'}); + pgm.dropTable({schema: "zte_cm", name: 'PhyChannel'}); + pgm.dropTable({schema: "zte_cm", name: 'PhyLayerPort'}); + pgm.dropTable({schema: "zte_cm", name: 'PhysCpu'}); + pgm.dropTable({schema: "zte_cm", name: 'PicoSonMeasCfg'}); + pgm.dropTable({schema: "zte_cm", name: 'PlBal'}); + pgm.dropTable({schema: "zte_cm", name: 'PlmnAdjFunction'}); + pgm.dropTable({schema: "zte_cm", name: 'Plmn'}); + pgm.dropTable({schema: "zte_cm", name: 'PlmnGroup'}); + pgm.dropTable({schema: "zte_cm", name: 'PlmnSpecFunction'}); + pgm.dropTable({schema: "zte_cm", name: 'PlugInUnit'}); + pgm.dropTable({schema: "zte_cm", name: 'PmDevice'}); + pgm.dropTable({schema: "zte_cm", name: 'PmDeviceSet'}); + pgm.dropTable({schema: "zte_cm", name: 'PoRstActDevice'}); + pgm.dropTable({schema: "zte_cm", name: 'PositionConfig'}); + pgm.dropTable({schema: "zte_cm", name: 'PowerControlDL'}); + pgm.dropTable({schema: "zte_cm", name: 'PowerControl'}); + pgm.dropTable({schema: "zte_cm", name: 'PowerControlUL'}); + pgm.dropTable({schema: "zte_cm", name: 'PowerOutletDevice'}); + pgm.dropTable({schema: "zte_cm", name: 'PowerOutletDeviceSet'}); + pgm.dropTable({schema: "zte_cm", name: 'PowerSave'}); + pgm.dropTable({schema: "zte_cm", name: 'PowerSaving'}); + pgm.dropTable({schema: "zte_cm", name: 'PrachFDD'}); + pgm.dropTable({schema: "zte_cm", name: 'Prach'}); + pgm.dropTable({schema: "zte_cm", name: 'PrdRttUeInt'}); + pgm.dropTable({schema: "zte_cm", name: 'PriorityResel'}); + pgm.dropTable({schema: "zte_cm", name: 'PriSel'}); + pgm.dropTable({schema: "zte_cm", name: 'PsChannelSchedule'}); + pgm.dropTable({schema: "zte_cm", name: 'PsEvtTPUeInt'}); + pgm.dropTable({schema: "zte_cm", name: 'PsHandoverControl'}); + pgm.dropTable({schema: "zte_cm", name: 'PsPowerControl'}); + pgm.dropTable({schema: "zte_cm", name: 'PsUserAndSrvType'}); + pgm.dropTable({schema: "zte_cm", name: 'Ptp'}); + pgm.dropTable({schema: "zte_cm", name: 'PtpPort'}); + pgm.dropTable({schema: "zte_cm", name: 'PubFunctionPara'}); + pgm.dropTable({schema: "zte_cm", name: 'PwOptimize'}); + pgm.dropTable({schema: "zte_cm", name: 'PwrLimTPUeInt'}); + pgm.dropTable({schema: "zte_cm", name: 'QChat'}); + pgm.dropTable({schema: "zte_cm", name: 'QoSDSCPMapping'}); + pgm.dropTable({schema: "zte_cm", name: 'QoS'}); + pgm.dropTable({schema: "zte_cm", name: 'QosFunction'}); + pgm.dropTable({schema: "zte_cm", name: 'QoSPBRMapping'}); + pgm.dropTable({schema: "zte_cm", name: 'QoSPRIMapping'}); + pgm.dropTable({schema: "zte_cm", name: 'QoSServiceClass'}); + pgm.dropTable({schema: "zte_cm", name: 'RachEvtUeTrv'}); + pgm.dropTable({schema: "zte_cm", name: 'RachPrdUeTrv'}); + pgm.dropTable({schema: "zte_cm", name: 'Rack'}); + pgm.dropTable({schema: "zte_cm", name: 'RatEcNoEvMeasforE'}); + pgm.dropTable({schema: "zte_cm", name: 'RatEcNoEvMeasforG'}); + pgm.dropTable({schema: "zte_cm", name: 'RatEcNoPrdMeas'}); + pgm.dropTable({schema: "zte_cm", name: 'RatMeasNoSrvSpec'}); + pgm.dropTable({schema: "zte_cm", name: 'RatMeasProfile'}); + pgm.dropTable({schema: "zte_cm", name: 'RatMeasSrvSpec'}); + pgm.dropTable({schema: "zte_cm", name: 'RatRscpEvMeasforE'}); + pgm.dropTable({schema: "zte_cm", name: 'RatRscpEvMeasforG'}); + pgm.dropTable({schema: "zte_cm", name: 'RatRscpPrdMeas'}); + pgm.dropTable({schema: "zte_cm", name: 'RemoteSp'}); + pgm.dropTable({schema: "zte_cm", name: 'RfCable'}); + pgm.dropTable({schema: "zte_cm", name: 'RfDevice'}); + pgm.dropTable({schema: "zte_cm", name: 'RfDeviceSet'}); + pgm.dropTable({schema: "zte_cm", name: 'RfExtendCable'}); + pgm.dropTable({schema: "zte_cm", name: 'RlEvtRttUeInt'}); + pgm.dropTable({schema: "zte_cm", name: 'RncFunction'}); + pgm.dropTable({schema: "zte_cm", name: 'RncInfo'}); + pgm.dropTable({schema: "zte_cm", name: 'RncPool'}); + pgm.dropTable({schema: "zte_cm", name: 'RnluCfg'}); + pgm.dropTable({schema: "zte_cm", name: 'Routes'}); + pgm.dropTable({schema: "zte_cm", name: 'RoutingArea'}); + pgm.dropTable({schema: "zte_cm", name: 'RrcCategoryBasPriMapping'}); + pgm.dropTable({schema: "zte_cm", name: 'RrcCategoryMapping'}); + pgm.dropTable({schema: "zte_cm", name: 'RstActDevice'}); + pgm.dropTable({schema: "zte_cm", name: 'RsvdUeGlobalPara'}); + pgm.dropTable({schema: "zte_cm", name: 'RsvdUeImsiList'}); + pgm.dropTable({schema: "zte_cm", name: 'RsvdUserSrvPc'}); + pgm.dropTable({schema: "zte_cm", name: 'RxChannel'}); + pgm.dropTable({schema: "zte_cm", name: 'S1Ap'}); + pgm.dropTable({schema: "zte_cm", name: 'Sccpch'}); + pgm.dropTable({schema: "zte_cm", name: 'ScHandoverControl'}); + pgm.dropTable({schema: "zte_cm", name: 'SchPriMapping'}); + pgm.dropTable({schema: "zte_cm", name: 'SchPriMappingProfile'}); + pgm.dropTable({schema: "zte_cm", name: 'SctpAssociation'}); + pgm.dropTable({schema: "zte_cm", name: 'Sctp'}); + pgm.dropTable({schema: "zte_cm", name: 'SctpPlmn'}); + pgm.dropTable({schema: "zte_cm", name: 'SdHandoverControl'}); + pgm.dropTable({schema: "zte_cm", name: 'SdrDeviceGroup'}); + pgm.dropTable({schema: "zte_cm", name: 'Security'}); + pgm.dropTable({schema: "zte_cm", name: 'SecurityManagement'}); + pgm.dropTable({schema: "zte_cm", name: 'SelfHealCfg'}); + pgm.dropTable({schema: "zte_cm", name: 'SerialPortDevice'}); + pgm.dropTable({schema: "zte_cm", name: 'SerialPortDeviceSet'}); + pgm.dropTable({schema: "zte_cm", name: 'ServiceArea'}); + pgm.dropTable({schema: "zte_cm", name: 'ServiceDrx'}); + pgm.dropTable({schema: "zte_cm", name: 'ServiceIp'}); + pgm.dropTable({schema: "zte_cm", name: 'ServiceMAC'}); + pgm.dropTable({schema: "zte_cm", name: 'ServiceMap'}); + pgm.dropTable({schema: "zte_cm", name: 'Shelf'}); + pgm.dropTable({schema: "zte_cm", name: 'SignalProcSTG'}); + pgm.dropTable({schema: "zte_cm", name: 'SignalResCfg'}); + pgm.dropTable({schema: "zte_cm", name: 'SignalTraceCfg'}); + pgm.dropTable({schema: "zte_cm", name: 'SIScheduling'}); + pgm.dropTable({schema: "zte_cm", name: 'Slot'}); + pgm.dropTable({schema: "zte_cm", name: 'SonCellPolicy'}); + pgm.dropTable({schema: "zte_cm", name: 'SonControl'}); + pgm.dropTable({schema: "zte_cm", name: 'SoneNBPolicy'}); + pgm.dropTable({schema: "zte_cm", name: 'SonPolicyAnr'}); + pgm.dropTable({schema: "zte_cm", name: 'SonPolicyX2'}); + pgm.dropTable({schema: "zte_cm", name: 'SonSwitch'}); + pgm.dropTable({schema: "zte_cm", name: 'SPSConfig'}); + pgm.dropTable({schema: "zte_cm", name: 'SrvBasedHo'}); + pgm.dropTable({schema: "zte_cm", name: 'SrvDivPc'}); + pgm.dropTable({schema: "zte_cm", name: 'SrvFunction'}); + pgm.dropTable({schema: "zte_cm", name: 'SrvPc'}); + pgm.dropTable({schema: "zte_cm", name: 'SrvPcProfile'}); + pgm.dropTable({schema: "zte_cm", name: 'Ss7'}); + pgm.dropTable({schema: "zte_cm", name: 'StActDevice'}); + pgm.dropTable({schema: "zte_cm", name: 'StaticRoute'}); + pgm.dropTable({schema: "zte_cm", name: 'StatRefreshActDevice'}); + pgm.dropTable({schema: "zte_cm", name: 'SubCell'}); + pgm.dropTable({schema: "zte_cm", name: 'SubCellPsAlloc'}); + pgm.dropTable({schema: "zte_cm", name: 'SubRack'}); + pgm.dropTable({schema: "zte_cm", name: 'SubSrv'}); + pgm.dropTable({schema: "zte_cm", name: 'SubSystem'}); + pgm.dropTable({schema: "zte_cm", name: 'SubTrPathGroup'}); + pgm.dropTable({schema: "zte_cm", name: 'SystemFuctions'}); + pgm.dropTable({schema: "zte_cm", name: 'SystemFunction'}); + pgm.dropTable({schema: "zte_cm", name: 'T1Device'}); + pgm.dropTable({schema: "zte_cm", name: 'T1DeviceSet'}); + pgm.dropTable({schema: "zte_cm", name: 'TbType'}); + pgm.dropTable({schema: "zte_cm", name: 'TbTypeProfile'}); + pgm.dropTable({schema: "zte_cm", name: 'TimeConfig'}); + pgm.dropTable({schema: "zte_cm", name: 'TimeDevice'}); + pgm.dropTable({schema: "zte_cm", name: 'TimeDeviceSet'}); + pgm.dropTable({schema: "zte_cm", name: 'TimeZone'}); + pgm.dropTable({schema: "zte_cm", name: 'Tma'}); + pgm.dropTable({schema: "zte_cm", name: 'TransportNetwork'}); + pgm.dropTable({schema: "zte_cm", name: 'TrPathGroup'}); + pgm.dropTable({schema: "zte_cm", name: 'TrvMeasProfile'}); + pgm.dropTable({schema: "zte_cm", name: 'Trx'}); + pgm.dropTable({schema: "zte_cm", name: 'Ts'}); + pgm.dropTable({schema: "zte_cm", name: 'TxChannel'}); + pgm.dropTable({schema: "zte_cm", name: 'TxChannelFilterConfig'}); + pgm.dropTable({schema: "zte_cm", name: 'Udp'}); + pgm.dropTable({schema: "zte_cm", name: 'UDPPORTNUM'}); + pgm.dropTable({schema: "zte_cm", name: 'UeCnst'}); + pgm.dropTable({schema: "zte_cm", name: 'UeEUtranMeasurement'}); + pgm.dropTable({schema: "zte_cm", name: 'UeIntMeasProfile'}); + pgm.dropTable({schema: "zte_cm", name: 'UeRATMeasurement'}); + pgm.dropTable({schema: "zte_cm", name: 'UeTimer'}); + pgm.dropTable({schema: "zte_cm", name: 'ULocalCell'}); + pgm.dropTable({schema: "zte_cm", name: 'ULocalCellRelation'}); + pgm.dropTable({schema: "zte_cm", name: 'Umsyn'}); + pgm.dropTable({schema: "zte_cm", name: 'Unit'}); + pgm.dropTable({schema: "zte_cm", name: 'UpHostIp'}); + pgm.dropTable({schema: "zte_cm", name: 'UpIpSys'}); + pgm.dropTable({schema: "zte_cm", name: 'UpSlave'}); + pgm.dropTable({schema: "zte_cm", name: 'UpSlaveSunit'}); + pgm.dropTable({schema: "zte_cm", name: 'USector'}); + pgm.dropTable({schema: "zte_cm", name: 'UserAndSrvBasedSche'}); + pgm.dropTable({schema: "zte_cm", name: 'UtranCellReselectionFDD'}); + pgm.dropTable({schema: "zte_cm", name: 'UtranHandoverControl'}); + pgm.dropTable({schema: "zte_cm", name: 'UtranMeasure'}); + pgm.dropTable({schema: "zte_cm", name: 'UtranRegArea'}); + pgm.dropTable({schema: "zte_cm", name: 'UtranReselectionFDD'}); + pgm.dropTable({schema: "zte_cm", name: 'UtranReselectionTDD'}); + pgm.dropTable({schema: "zte_cm", name: 'Vamos'}); + pgm.dropTable({schema: "zte_cm", name: 'VIpIntf'}); + pgm.dropTable({schema: "zte_cm", name: 'VipUeList'}); + pgm.dropTable({schema: "zte_cm", name: 'VsOam'}); + pgm.dropTable({schema: "zte_cm", name: 'X2Ap'}); +}; diff --git a/db/migrations/1564270005807_create-nokia-cm-tables.js b/db/migrations/1564270005807_create-nokia-cm-tables.js new file mode 100644 index 00000000..e3bb1172 --- /dev/null +++ b/db/migrations/1564270005807_create-nokia-cm-tables.js @@ -0,0 +1,621 @@ +exports.shorthands = undefined; + +exports.up = (pgm) => { + pgm.noTransaction(); + + pgm.createTable({schema: "nokia_cm", name: "A2NE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "A2ST"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "A2UT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "ABMAP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "ABTER"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "ACCP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "ACL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "ADCE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "ADDR"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "ADJG"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "ADJI"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "ADJL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "ADJS"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "ADJW"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "ADR4GW"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "AMGR"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "AMLEPR"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "ANBA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "ANRPRL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "ANRPRW"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "ANTL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "BAL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "BATBKP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "BBMOD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "BCF"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "BFD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "BFDGRP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "BSC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "BSTE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "BTS"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "BTSNE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "BTSSCL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "BTSSCW"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "CABINET"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "CADPR"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "CAPR"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "CAREL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "CARTRIDGE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "CBCI"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "CCFA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "CERTH"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "CESIF"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "CMOB"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "COCO"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "CONNECTOR"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "CPCTRL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "CSDAP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "CTRLTS"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "DAP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "DNS"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "ETHER"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "ETHLK"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "ETP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "FLTR4"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "FMCG"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "FMCI"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "FMCL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "FMCS"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "FTM"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "FUUNIT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "GFIM"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "GLPRM"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "GNFL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "GPC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "GTPU"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "HDLC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "HOC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "HOPG"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "HOPI"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "HOPL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "HOPS"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "HW"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "IAIF"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "IBFD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "IBFP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "IDNS"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "IDSP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "IEIF"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "IFPG"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "IGIF"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "IHCP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "IICP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "IMAG"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "INTP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "IPBR"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "IPHB"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "IPNB"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "IPNO"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "IPQM"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "IPRM"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "IPRO"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "IPRT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "IPRTV6"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "IPSECC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "IQOS"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "IRFIM"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "ISBFP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "ITRKGRP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "ITRKOBJ"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "IUBSNT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "IUCS"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "IUCSIP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "IUO"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "IUPS"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "IUPSIP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "IUR"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "IVIF"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "L2SWI"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "LAPD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "LCELC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "LCELGW"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "LCELL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "LCELW"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "LCSE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "LNADJ"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "LNADJL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "LNADJW"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "LNBTS"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "LNCEL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "LNHOG"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "LNHOIF"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "LNHOW"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "LNMME"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "LNREL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "LNRELW"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "LTAC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "LUAC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "MAL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "MBAL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "MHA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "MODULE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "MRBTS"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "MTRACE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "NSE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "NSVL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "NTP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "O2AREA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "O2GLBL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "O2IFC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "O2RNK"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "OAMPRF"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "OSPFV2"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "PCM"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "PCU"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "PFL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "PISCHDLITEM"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "PMCADM"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "PMRNL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "PMSCHDLS"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "PMTNL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "POC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "PPTT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "PRTGRP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "PUNIT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "PWNE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "QOS"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "QSPEC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "RA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "RACK"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "REDRT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "RFTHLD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "RMOD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "RNAC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "RNC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "RNFC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "RNHSPA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "RNMOBI"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "RNPS"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "RNRLC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "RNTRM"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "RSTP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "RTINST"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "SBR4"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "SCFVER"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "SCHEDULEDITEM"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "SCTP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "SECADM"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "SFP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "SITE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "SMLC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "SMOD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "SPTT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "SRT4"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "SRTT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "STPG"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "STPORT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "SUBMODULE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "SUBRACK"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "SVTT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "SYNC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "TAC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "TCSM"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "TCTT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "TEST"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "TID"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "TMPAR"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "TOPB"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "TOPF"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "TOPIK"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "TOPP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "TQM"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "TRBLCADM"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "TRDE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "TRE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "TRENE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "TRX"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "TWAMP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "TWAMPR"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "UFFIM"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "ULCOMP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "UNI"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "UNIT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "VBTS"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "VCCT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "VCEL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "VCTT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "VLAN"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "VLANPM"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "VPCT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "VPTT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "VRF"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "WAC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "WBTS"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "WCEL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "WLCSE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "WRAB"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "WSMLC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "ABDELM"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "ALD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "ALD_R"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "ANR"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "ANTC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "ANTE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "ANTL_R"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "APEQM"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "APEQM_R"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "BBMOD_R"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "BBPOOL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "BRGPRT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "BTSSCC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "CABINET_R"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "CABLINK"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "CABLINK_R"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "CACERT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "CACERT_R"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "CAGENB"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "CAPCFG"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "CARRIERGROUPC_R"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "CHANNEL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "CLIC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "CLOCK"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "CLOCKOUTPUTS"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "CLOCK_FDD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "CLOCK_R"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "CMP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "CMP_R"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "CREL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "CRLH"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "DIAGSNAP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "DRX"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "DSCP2PCPMAP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "DSCP2QMAP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "DSCPTOQMAP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "EACA"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "EACC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "EAC_IN"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "EAC_OUT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "EAC_R"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "ETHIF"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "ETHIF_R"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "ETHLK_R"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "ETHPRT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "ETHQOS"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "EXENBF"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "EXEUCE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "EXGCE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "EXUCE"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "FBB"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "FEATCADM"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "FEATGADM"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "FEATLADM"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "FMCADM"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "FPMUX"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "FR"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "FRBC"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "FSM"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "FSTSCH"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "GCAL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "GNBCF"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "GNCEL"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "GNCEL_R"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "IAFIM"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "IBRGPRT"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "IFGDPR"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "IFGPR"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "INVUNIT_R"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "IPADDRESSV4"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "IPADDRESSV4_R"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "IPAPP"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "IPIF"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "IPRT_R"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "IPSECC_R"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "LAGGR"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "LBPUCCHRDPR"}, {id: "id", load_datetime: "load_datetime", data: "data"}); + pgm.createTable({schema: "nokia_cm", name: "LNBTS_FDD"}, {id: "id", load_datetime: "load_datetime", data: "data"}); +}; + +exports.down = (pgm) => { + pgm.noTransaction(); + + pgm.dropTable({schema: "nokia_cm", name: 'A2NE'}); + pgm.dropTable({schema: "nokia_cm", name: 'A2ST'}); + pgm.dropTable({schema: "nokia_cm", name: 'A2UT'}); + pgm.dropTable({schema: "nokia_cm", name: 'ABMAP'}); + pgm.dropTable({schema: "nokia_cm", name: 'ABTER'}); + pgm.dropTable({schema: "nokia_cm", name: 'ACCP'}); + pgm.dropTable({schema: "nokia_cm", name: 'ACL'}); + pgm.dropTable({schema: "nokia_cm", name: 'ADCE'}); + pgm.dropTable({schema: "nokia_cm", name: 'ADDR'}); + pgm.dropTable({schema: "nokia_cm", name: 'ADJG'}); + pgm.dropTable({schema: "nokia_cm", name: 'ADJI'}); + pgm.dropTable({schema: "nokia_cm", name: 'ADJL'}); + pgm.dropTable({schema: "nokia_cm", name: 'ADJS'}); + pgm.dropTable({schema: "nokia_cm", name: 'ADJW'}); + pgm.dropTable({schema: "nokia_cm", name: 'ADR4GW'}); + pgm.dropTable({schema: "nokia_cm", name: 'AMGR'}); + pgm.dropTable({schema: "nokia_cm", name: 'AMLEPR'}); + pgm.dropTable({schema: "nokia_cm", name: 'ANBA'}); + pgm.dropTable({schema: "nokia_cm", name: 'ANRPRL'}); + pgm.dropTable({schema: "nokia_cm", name: 'ANRPRW'}); + pgm.dropTable({schema: "nokia_cm", name: 'ANTL'}); + pgm.dropTable({schema: "nokia_cm", name: 'BAL'}); + pgm.dropTable({schema: "nokia_cm", name: 'BATBKP'}); + pgm.dropTable({schema: "nokia_cm", name: 'BBMOD'}); + pgm.dropTable({schema: "nokia_cm", name: 'BCF'}); + pgm.dropTable({schema: "nokia_cm", name: 'BFD'}); + pgm.dropTable({schema: "nokia_cm", name: 'BFDGRP'}); + pgm.dropTable({schema: "nokia_cm", name: 'BSC'}); + pgm.dropTable({schema: "nokia_cm", name: 'BSTE'}); + pgm.dropTable({schema: "nokia_cm", name: 'BTS'}); + pgm.dropTable({schema: "nokia_cm", name: 'BTSNE'}); + pgm.dropTable({schema: "nokia_cm", name: 'BTSSCL'}); + pgm.dropTable({schema: "nokia_cm", name: 'BTSSCW'}); + pgm.dropTable({schema: "nokia_cm", name: 'CABINET'}); + pgm.dropTable({schema: "nokia_cm", name: 'CADPR'}); + pgm.dropTable({schema: "nokia_cm", name: 'CAPR'}); + pgm.dropTable({schema: "nokia_cm", name: 'CAREL'}); + pgm.dropTable({schema: "nokia_cm", name: 'CARTRIDGE'}); + pgm.dropTable({schema: "nokia_cm", name: 'CBCI'}); + pgm.dropTable({schema: "nokia_cm", name: 'CCFA'}); + pgm.dropTable({schema: "nokia_cm", name: 'CERTH'}); + pgm.dropTable({schema: "nokia_cm", name: 'CESIF'}); + pgm.dropTable({schema: "nokia_cm", name: 'CMOB'}); + pgm.dropTable({schema: "nokia_cm", name: 'COCO'}); + pgm.dropTable({schema: "nokia_cm", name: 'CONNECTOR'}); + pgm.dropTable({schema: "nokia_cm", name: 'CPCTRL'}); + pgm.dropTable({schema: "nokia_cm", name: 'CSDAP'}); + pgm.dropTable({schema: "nokia_cm", name: 'CTRLTS'}); + pgm.dropTable({schema: "nokia_cm", name: 'DAP'}); + pgm.dropTable({schema: "nokia_cm", name: 'DNS'}); + pgm.dropTable({schema: "nokia_cm", name: 'ETHER'}); + pgm.dropTable({schema: "nokia_cm", name: 'ETHLK'}); + pgm.dropTable({schema: "nokia_cm", name: 'ETP'}); + pgm.dropTable({schema: "nokia_cm", name: 'FLTR4'}); + pgm.dropTable({schema: "nokia_cm", name: 'FMCG'}); + pgm.dropTable({schema: "nokia_cm", name: 'FMCI'}); + pgm.dropTable({schema: "nokia_cm", name: 'FMCL'}); + pgm.dropTable({schema: "nokia_cm", name: 'FMCS'}); + pgm.dropTable({schema: "nokia_cm", name: 'FTM'}); + pgm.dropTable({schema: "nokia_cm", name: 'FUUNIT'}); + pgm.dropTable({schema: "nokia_cm", name: 'GFIM'}); + pgm.dropTable({schema: "nokia_cm", name: 'GLPRM'}); + pgm.dropTable({schema: "nokia_cm", name: 'GNFL'}); + pgm.dropTable({schema: "nokia_cm", name: 'GPC'}); + pgm.dropTable({schema: "nokia_cm", name: 'GTPU'}); + pgm.dropTable({schema: "nokia_cm", name: 'HDLC'}); + pgm.dropTable({schema: "nokia_cm", name: 'HOC'}); + pgm.dropTable({schema: "nokia_cm", name: 'HOPG'}); + pgm.dropTable({schema: "nokia_cm", name: 'HOPI'}); + pgm.dropTable({schema: "nokia_cm", name: 'HOPL'}); + pgm.dropTable({schema: "nokia_cm", name: 'HOPS'}); + pgm.dropTable({schema: "nokia_cm", name: 'HW'}); + pgm.dropTable({schema: "nokia_cm", name: 'IAIF'}); + pgm.dropTable({schema: "nokia_cm", name: 'IBFD'}); + pgm.dropTable({schema: "nokia_cm", name: 'IBFP'}); + pgm.dropTable({schema: "nokia_cm", name: 'IDNS'}); + pgm.dropTable({schema: "nokia_cm", name: 'IDSP'}); + pgm.dropTable({schema: "nokia_cm", name: 'IEIF'}); + pgm.dropTable({schema: "nokia_cm", name: 'IFPG'}); + pgm.dropTable({schema: "nokia_cm", name: 'IGIF'}); + pgm.dropTable({schema: "nokia_cm", name: 'IHCP'}); + pgm.dropTable({schema: "nokia_cm", name: 'IICP'}); + pgm.dropTable({schema: "nokia_cm", name: 'IMAG'}); + pgm.dropTable({schema: "nokia_cm", name: 'INTP'}); + pgm.dropTable({schema: "nokia_cm", name: 'IPBR'}); + pgm.dropTable({schema: "nokia_cm", name: 'IPHB'}); + pgm.dropTable({schema: "nokia_cm", name: 'IPNB'}); + pgm.dropTable({schema: "nokia_cm", name: 'IPNO'}); + pgm.dropTable({schema: "nokia_cm", name: 'IPQM'}); + pgm.dropTable({schema: "nokia_cm", name: 'IPRM'}); + pgm.dropTable({schema: "nokia_cm", name: 'IPRO'}); + pgm.dropTable({schema: "nokia_cm", name: 'IPRT'}); + pgm.dropTable({schema: "nokia_cm", name: 'IPRTV6'}); + pgm.dropTable({schema: "nokia_cm", name: 'IPSECC'}); + pgm.dropTable({schema: "nokia_cm", name: 'IQOS'}); + pgm.dropTable({schema: "nokia_cm", name: 'IRFIM'}); + pgm.dropTable({schema: "nokia_cm", name: 'ISBFP'}); + pgm.dropTable({schema: "nokia_cm", name: 'ITRKGRP'}); + pgm.dropTable({schema: "nokia_cm", name: 'ITRKOBJ'}); + pgm.dropTable({schema: "nokia_cm", name: 'IUBSNT'}); + pgm.dropTable({schema: "nokia_cm", name: 'IUCS'}); + pgm.dropTable({schema: "nokia_cm", name: 'IUCSIP'}); + pgm.dropTable({schema: "nokia_cm", name: 'IUO'}); + pgm.dropTable({schema: "nokia_cm", name: 'IUPS'}); + pgm.dropTable({schema: "nokia_cm", name: 'IUPSIP'}); + pgm.dropTable({schema: "nokia_cm", name: 'IUR'}); + pgm.dropTable({schema: "nokia_cm", name: 'IVIF'}); + pgm.dropTable({schema: "nokia_cm", name: 'L2SWI'}); + pgm.dropTable({schema: "nokia_cm", name: 'LAPD'}); + pgm.dropTable({schema: "nokia_cm", name: 'LCELC'}); + pgm.dropTable({schema: "nokia_cm", name: 'LCELGW'}); + pgm.dropTable({schema: "nokia_cm", name: 'LCELL'}); + pgm.dropTable({schema: "nokia_cm", name: 'LCELW'}); + pgm.dropTable({schema: "nokia_cm", name: 'LCSE'}); + pgm.dropTable({schema: "nokia_cm", name: 'LNADJ'}); + pgm.dropTable({schema: "nokia_cm", name: 'LNADJL'}); + pgm.dropTable({schema: "nokia_cm", name: 'LNADJW'}); + pgm.dropTable({schema: "nokia_cm", name: 'LNBTS'}); + pgm.dropTable({schema: "nokia_cm", name: 'LNCEL'}); + pgm.dropTable({schema: "nokia_cm", name: 'LNHOG'}); + pgm.dropTable({schema: "nokia_cm", name: 'LNHOIF'}); + pgm.dropTable({schema: "nokia_cm", name: 'LNHOW'}); + pgm.dropTable({schema: "nokia_cm", name: 'LNMME'}); + pgm.dropTable({schema: "nokia_cm", name: 'LNREL'}); + pgm.dropTable({schema: "nokia_cm", name: 'LNRELW'}); + pgm.dropTable({schema: "nokia_cm", name: 'LTAC'}); + pgm.dropTable({schema: "nokia_cm", name: 'LUAC'}); + pgm.dropTable({schema: "nokia_cm", name: 'MAL'}); + pgm.dropTable({schema: "nokia_cm", name: 'MBAL'}); + pgm.dropTable({schema: "nokia_cm", name: 'MHA'}); + pgm.dropTable({schema: "nokia_cm", name: 'MODULE'}); + pgm.dropTable({schema: "nokia_cm", name: 'MRBTS'}); + pgm.dropTable({schema: "nokia_cm", name: 'MTRACE'}); + pgm.dropTable({schema: "nokia_cm", name: 'NSE'}); + pgm.dropTable({schema: "nokia_cm", name: 'NSVL'}); + pgm.dropTable({schema: "nokia_cm", name: 'NTP'}); + pgm.dropTable({schema: "nokia_cm", name: 'O2AREA'}); + pgm.dropTable({schema: "nokia_cm", name: 'O2GLBL'}); + pgm.dropTable({schema: "nokia_cm", name: 'O2IFC'}); + pgm.dropTable({schema: "nokia_cm", name: 'O2RNK'}); + pgm.dropTable({schema: "nokia_cm", name: 'OAMPRF'}); + pgm.dropTable({schema: "nokia_cm", name: 'OSPFV2'}); + pgm.dropTable({schema: "nokia_cm", name: 'PCM'}); + pgm.dropTable({schema: "nokia_cm", name: 'PCU'}); + pgm.dropTable({schema: "nokia_cm", name: 'PFL'}); + pgm.dropTable({schema: "nokia_cm", name: 'PISCHDLITEM'}); + pgm.dropTable({schema: "nokia_cm", name: 'PMCADM'}); + pgm.dropTable({schema: "nokia_cm", name: 'PMRNL'}); + pgm.dropTable({schema: "nokia_cm", name: 'PMSCHDLS'}); + pgm.dropTable({schema: "nokia_cm", name: 'PMTNL'}); + pgm.dropTable({schema: "nokia_cm", name: 'POC'}); + pgm.dropTable({schema: "nokia_cm", name: 'PPTT'}); + pgm.dropTable({schema: "nokia_cm", name: 'PRTGRP'}); + pgm.dropTable({schema: "nokia_cm", name: 'PUNIT'}); + pgm.dropTable({schema: "nokia_cm", name: 'PWNE'}); + pgm.dropTable({schema: "nokia_cm", name: 'QOS'}); + pgm.dropTable({schema: "nokia_cm", name: 'QSPEC'}); + pgm.dropTable({schema: "nokia_cm", name: 'RA'}); + pgm.dropTable({schema: "nokia_cm", name: 'RACK'}); + pgm.dropTable({schema: "nokia_cm", name: 'REDRT'}); + pgm.dropTable({schema: "nokia_cm", name: 'RFTHLD'}); + pgm.dropTable({schema: "nokia_cm", name: 'RMOD'}); + pgm.dropTable({schema: "nokia_cm", name: 'RNAC'}); + pgm.dropTable({schema: "nokia_cm", name: 'RNC'}); + pgm.dropTable({schema: "nokia_cm", name: 'RNFC'}); + pgm.dropTable({schema: "nokia_cm", name: 'RNHSPA'}); + pgm.dropTable({schema: "nokia_cm", name: 'RNMOBI'}); + pgm.dropTable({schema: "nokia_cm", name: 'RNPS'}); + pgm.dropTable({schema: "nokia_cm", name: 'RNRLC'}); + pgm.dropTable({schema: "nokia_cm", name: 'RNTRM'}); + pgm.dropTable({schema: "nokia_cm", name: 'RSTP'}); + pgm.dropTable({schema: "nokia_cm", name: 'RTINST'}); + pgm.dropTable({schema: "nokia_cm", name: 'SBR4'}); + pgm.dropTable({schema: "nokia_cm", name: 'SCFVER'}); + pgm.dropTable({schema: "nokia_cm", name: 'SCHEDULEDITEM'}); + pgm.dropTable({schema: "nokia_cm", name: 'SCTP'}); + pgm.dropTable({schema: "nokia_cm", name: 'SECADM'}); + pgm.dropTable({schema: "nokia_cm", name: 'SFP'}); + pgm.dropTable({schema: "nokia_cm", name: 'SITE'}); + pgm.dropTable({schema: "nokia_cm", name: 'SMLC'}); + pgm.dropTable({schema: "nokia_cm", name: 'SMOD'}); + pgm.dropTable({schema: "nokia_cm", name: 'SPTT'}); + pgm.dropTable({schema: "nokia_cm", name: 'SRT4'}); + pgm.dropTable({schema: "nokia_cm", name: 'SRTT'}); + pgm.dropTable({schema: "nokia_cm", name: 'STPG'}); + pgm.dropTable({schema: "nokia_cm", name: 'STPORT'}); + pgm.dropTable({schema: "nokia_cm", name: 'SUBMODULE'}); + pgm.dropTable({schema: "nokia_cm", name: 'SUBRACK'}); + pgm.dropTable({schema: "nokia_cm", name: 'SVTT'}); + pgm.dropTable({schema: "nokia_cm", name: 'SYNC'}); + pgm.dropTable({schema: "nokia_cm", name: 'TAC'}); + pgm.dropTable({schema: "nokia_cm", name: 'TCSM'}); + pgm.dropTable({schema: "nokia_cm", name: 'TCTT'}); + pgm.dropTable({schema: "nokia_cm", name: 'TEST'}); + pgm.dropTable({schema: "nokia_cm", name: 'TID'}); + pgm.dropTable({schema: "nokia_cm", name: 'TMPAR'}); + pgm.dropTable({schema: "nokia_cm", name: 'TOPB'}); + pgm.dropTable({schema: "nokia_cm", name: 'TOPF'}); + pgm.dropTable({schema: "nokia_cm", name: 'TOPIK'}); + pgm.dropTable({schema: "nokia_cm", name: 'TOPP'}); + pgm.dropTable({schema: "nokia_cm", name: 'TQM'}); + pgm.dropTable({schema: "nokia_cm", name: 'TRBLCADM'}); + pgm.dropTable({schema: "nokia_cm", name: 'TRDE'}); + pgm.dropTable({schema: "nokia_cm", name: 'TRE'}); + pgm.dropTable({schema: "nokia_cm", name: 'TRENE'}); + pgm.dropTable({schema: "nokia_cm", name: 'TRX'}); + pgm.dropTable({schema: "nokia_cm", name: 'TWAMP'}); + pgm.dropTable({schema: "nokia_cm", name: 'TWAMPR'}); + pgm.dropTable({schema: "nokia_cm", name: 'UFFIM'}); + pgm.dropTable({schema: "nokia_cm", name: 'ULCOMP'}); + pgm.dropTable({schema: "nokia_cm", name: 'UNI'}); + pgm.dropTable({schema: "nokia_cm", name: 'UNIT'}); + pgm.dropTable({schema: "nokia_cm", name: 'VBTS'}); + pgm.dropTable({schema: "nokia_cm", name: 'VCCT'}); + pgm.dropTable({schema: "nokia_cm", name: 'VCEL'}); + pgm.dropTable({schema: "nokia_cm", name: 'VCTT'}); + pgm.dropTable({schema: "nokia_cm", name: 'VLAN'}); + pgm.dropTable({schema: "nokia_cm", name: 'VLANPM'}); + pgm.dropTable({schema: "nokia_cm", name: 'VPCT'}); + pgm.dropTable({schema: "nokia_cm", name: 'VPTT'}); + pgm.dropTable({schema: "nokia_cm", name: 'VRF'}); + pgm.dropTable({schema: "nokia_cm", name: 'WAC'}); + pgm.dropTable({schema: "nokia_cm", name: 'WBTS'}); + pgm.dropTable({schema: "nokia_cm", name: 'WCEL'}); + pgm.dropTable({schema: "nokia_cm", name: 'WLCSE'}); + pgm.dropTable({schema: "nokia_cm", name: 'WRAB'}); + pgm.dropTable({schema: "nokia_cm", name: 'WSMLC'}); + pgm.dropTable({schema: "nokia_cm", name: 'ABDELM'}); + pgm.dropTable({schema: "nokia_cm", name: 'ALD'}); + pgm.dropTable({schema: "nokia_cm", name: 'ALD_R'}); + pgm.dropTable({schema: "nokia_cm", name: 'ANR'}); + pgm.dropTable({schema: "nokia_cm", name: 'ANTC'}); + pgm.dropTable({schema: "nokia_cm", name: 'ANTE'}); + pgm.dropTable({schema: "nokia_cm", name: 'ANTL_R'}); + pgm.dropTable({schema: "nokia_cm", name: 'APEQM'}); + pgm.dropTable({schema: "nokia_cm", name: 'APEQM_R'}); + pgm.dropTable({schema: "nokia_cm", name: 'BBMOD_R'}); + pgm.dropTable({schema: "nokia_cm", name: 'BBPOOL'}); + pgm.dropTable({schema: "nokia_cm", name: 'BRGPRT'}); + pgm.dropTable({schema: "nokia_cm", name: 'BTSSCC'}); + pgm.dropTable({schema: "nokia_cm", name: 'CABINET_R'}); + pgm.dropTable({schema: "nokia_cm", name: 'CABLINK'}); + pgm.dropTable({schema: "nokia_cm", name: 'CABLINK_R'}); + pgm.dropTable({schema: "nokia_cm", name: 'CACERT'}); + pgm.dropTable({schema: "nokia_cm", name: 'CACERT_R'}); + pgm.dropTable({schema: "nokia_cm", name: 'CAGENB'}); + pgm.dropTable({schema: "nokia_cm", name: 'CAPCFG'}); + pgm.dropTable({schema: "nokia_cm", name: 'CARRIERGROUPC_R'}); + pgm.dropTable({schema: "nokia_cm", name: 'CHANNEL'}); + pgm.dropTable({schema: "nokia_cm", name: 'CLIC'}); + pgm.dropTable({schema: "nokia_cm", name: 'CLOCK'}); + pgm.dropTable({schema: "nokia_cm", name: 'CLOCKOUTPUTS'}); + pgm.dropTable({schema: "nokia_cm", name: 'CLOCK_FDD'}); + pgm.dropTable({schema: "nokia_cm", name: 'CLOCK_R'}); + pgm.dropTable({schema: "nokia_cm", name: 'CMP'}); + pgm.dropTable({schema: "nokia_cm", name: 'CMP_R'}); + pgm.dropTable({schema: "nokia_cm", name: 'CREL'}); + pgm.dropTable({schema: "nokia_cm", name: 'CRLH'}); + pgm.dropTable({schema: "nokia_cm", name: 'DIAGSNAP'}); + pgm.dropTable({schema: "nokia_cm", name: 'DRX'}); + pgm.dropTable({schema: "nokia_cm", name: 'DSCP2PCPMAP'}); + pgm.dropTable({schema: "nokia_cm", name: 'DSCP2QMAP'}); + pgm.dropTable({schema: "nokia_cm", name: 'DSCPTOQMAP'}); + pgm.dropTable({schema: "nokia_cm", name: 'EACA'}); + pgm.dropTable({schema: "nokia_cm", name: 'EACC'}); + pgm.dropTable({schema: "nokia_cm", name: 'EAC_IN'}); + pgm.dropTable({schema: "nokia_cm", name: 'EAC_OUT'}); + pgm.dropTable({schema: "nokia_cm", name: 'EAC_R'}); + pgm.dropTable({schema: "nokia_cm", name: 'ETHIF'}); + pgm.dropTable({schema: "nokia_cm", name: 'ETHIF_R'}); + pgm.dropTable({schema: "nokia_cm", name: 'ETHLK_R'}); + pgm.dropTable({schema: "nokia_cm", name: 'ETHPRT'}); + pgm.dropTable({schema: "nokia_cm", name: 'ETHQOS'}); + pgm.dropTable({schema: "nokia_cm", name: 'EXENBF'}); + pgm.dropTable({schema: "nokia_cm", name: 'EXEUCE'}); + pgm.dropTable({schema: "nokia_cm", name: 'EXGCE'}); + pgm.dropTable({schema: "nokia_cm", name: 'EXUCE'}); + pgm.dropTable({schema: "nokia_cm", name: 'FBB'}); + pgm.dropTable({schema: "nokia_cm", name: 'FEATCADM'}); + pgm.dropTable({schema: "nokia_cm", name: 'FEATGADM'}); + pgm.dropTable({schema: "nokia_cm", name: 'FEATLADM'}); + pgm.dropTable({schema: "nokia_cm", name: 'FMCADM'}); + pgm.dropTable({schema: "nokia_cm", name: 'FPMUX'}); + pgm.dropTable({schema: "nokia_cm", name: 'FR'}); + pgm.dropTable({schema: "nokia_cm", name: 'FRBC'}); + pgm.dropTable({schema: "nokia_cm", name: 'FSM'}); + pgm.dropTable({schema: "nokia_cm", name: 'FSTSCH'}); + pgm.dropTable({schema: "nokia_cm", name: 'GCAL'}); + pgm.dropTable({schema: "nokia_cm", name: 'GNBCF'}); + pgm.dropTable({schema: "nokia_cm", name: 'GNCEL'}); + pgm.dropTable({schema: "nokia_cm", name: 'GNCEL_R'}); + pgm.dropTable({schema: "nokia_cm", name: 'IAFIM'}); + pgm.dropTable({schema: "nokia_cm", name: 'IBRGPRT'}); + pgm.dropTable({schema: "nokia_cm", name: 'IFGDPR'}); + pgm.dropTable({schema: "nokia_cm", name: 'IFGPR'}); + pgm.dropTable({schema: "nokia_cm", name: 'INVUNIT_R'}); + pgm.dropTable({schema: "nokia_cm", name: 'IPADDRESSV4'}); + pgm.dropTable({schema: "nokia_cm", name: 'IPADDRESSV4_R'}); + pgm.dropTable({schema: "nokia_cm", name: 'IPAPP'}); + pgm.dropTable({schema: "nokia_cm", name: 'IPIF'}); + pgm.dropTable({schema: "nokia_cm", name: 'IPRT_R'}); + pgm.dropTable({schema: "nokia_cm", name: 'IPSECC_R'}); + pgm.dropTable({schema: "nokia_cm", name: 'LAGGR'}); + pgm.dropTable({schema: "nokia_cm", name: 'LBPUCCHRDPR'}); + pgm.dropTable({schema: "nokia_cm", name: 'LNBTS_FDD'}); +}; diff --git a/db/migrations/1564270255522_create-reports-schema.js b/db/migrations/1564270255522_create-reports-schema.js new file mode 100644 index 00000000..5945879e --- /dev/null +++ b/db/migrations/1564270255522_create-reports-schema.js @@ -0,0 +1,52 @@ +exports.shorthands = undefined; + +exports.up = (pgm) => { + pgm.createSchema("reports", {ifNotExists : true} ); + + //Create reports category table + pgm.createTable( + //name + {schema: "reports", name: "categories"}, + //columns + { + id: "id", + name: {type: "varchar(200)", notNull: true, unique: true}, + parent_id: {type: "integer", notNull: true, default: 0}, + notes: {type: "text"}, + in_built: {type: "boolean", default: false}, + created_at: 'createdAt', + modified_at: 'createdAt', + created_by: {type: 'integer', default: 0}, + modified_by: {type: 'integer', default: 0} + } + ); + + //Create reports table + pgm.createTable( + //name + {schema: "reports", name: "reports"}, + //columns + { + id: "id", + name: {type: "varchar(200)", notNull: true, unique: true}, + parent_id: {type: "integer", notNull: true, default: 0}, + notes: {type: "text"}, + query: {type: "text"}, + options: {type: "json"}, + type: {type: "varchar(50)"}, + category_id: {type: "integer", default: 0}, + in_built: {type: "boolean", default: false}, + created_at: 'createdAt', + modified_at: 'createdAt', + created_by: {type: 'integer', default: 0}, + modified_by: {type: 'integer', default: 0} + } + ); +}; + +exports.down = (pgm) => { + pgm.dropTable({schema: "reports", name: "reports"}); + pgm.dropTable({schema: "reports", name: "categories"}); + pgm.dropSchema("reports", {ifExists : true} ); + +}; diff --git a/db/migrations/1564271714995_create-key-parameter-and-network-entity-reports.js b/db/migrations/1564271714995_create-key-parameter-and-network-entity-reports.js new file mode 100644 index 00000000..9795a6f9 --- /dev/null +++ b/db/migrations/1564271714995_create-key-parameter-and-network-entity-reports.js @@ -0,0 +1,637 @@ +const ERICSSON_2G_KEY_PARAMAETERS = ` +WITH QRY_CHANNEL_GROUP_TRX AS ( + SELECT + t1.data->>'BSC_NAME' AS "NENAME", + t1.data->>'CELL_NAME' AS "CELLNAME", + COUNT(t1.data->>'CHGR_NAME') AS NumberOfTRX + FROM ericsson_cm."CHANNEL_GROUP" t1 + GROUP BY t1.data->>'BSC_NAME', t1.data->>'CELL_NAME' +) +SELECT + t1.data->>'DATETIME' AS "DATETIME", + 'ERICSSON' AS "VENDOR", + '2G' AS "TECHNOLOGY", + 'BSC' AS "NETYPE", + t1.data->>'BSC_NAME' AS "NENAME", + '' AS "MGW", +-- REPLACE("MODE", " - ACTIVE", "") AS MGC, + '' AS "MGC_NUM", + '' AS "CARR", + SUBSTRING(t1.data->>'CELL_NAME', 2, 3) AS "SITEPROP", + SUBSTRING(LPAD(t1.data->>'CI', 5, '0'),0, 4) AS "SITEID", + SUBSTRING(t1.data->>'CELL_NAME', 0, 5) AS "SITENAME", + t1.data->>'CI' AS "CELLID", + t1.data->>'CELL_NAME' AS "CELLNAME", + REPLACE(t1.data->>'CELL_STATE', '"', '') AS "ACTSTATUS", + '' AS BLKSTATUS, + REPLACE(t1.data->>'C_SYS_TYPE', 'GSM', '') AS "DLF", + REPLACE(t1.data->>'C_SYS_TYPE', 'GSM', '') AS "ULF", + '' AS "DLBANDWIDTH", + REPLACE(t1.data->>'C_SYS_TYPE', 'GSM', '') AS "BAND", + t1.data->>'MCC' AS "MCC", + t1.data->>'MNC' AS "MNC", + t1.data->>'LAC' AS "LAC", + '' AS "RAC", + t1.data->>'BCCHNO', + t1.data->>'BCC', + t1.data->>'NCC', + t1.data->>'CI', + CONCAT(t1.data->>'BCC', t1.data->>'NCC') AS "BSIC", + CONCAT(t1.data->>'MCC', ' - ', LPAD(t1.data->>'MNC', 2, '0'), ' - ', LPAD(t1.data->>'LAC',5 ,'0'), ' - ', LPAD(t1.data->>'CI', 5,'0')) AS "CGI", + CONCAT(t1.data->>'MCC', ' - ', t1.data->>'MNC', ' - ', t1.data->>'LAC', ' - ', t1.data->>'CI') AS CGI_Raw, + '' AS "CGI_HEX", + t3.NumberOfTRX AS TRX_NUM +FROM ericsson_cm."INTERNAL_CELL" t1 +INNER JOIN ericsson_cm."BSC" t2 ON t1.data->>'BSC_NAME' = t2.data->>'BSC_NAME' + LEFT JOIN QRY_CHANNEL_GROUP_TRX t3 + ON t1.data->>'CELL_NAME' = t3."CELLNAME" + AND t1.data->>'BSC_NAME' = t3."NENAME" +` + + +const ERICSSON_3G_KEY_PARAMAETERS = ` +SELECT t1.data->>'DATETIME' AS "DATETIME", + 'ERICSSON' AS "VENDOR", + '3G' AS "TECHNOLOGY", + t1.data->>'SubNetwork_2_id' AS "NENAME", + t2.data->>'cId' AS "CELLID", + t2.data->>'userLabel' AS "CELLNAME", +-- t3."CELLNAME_SC", + SUBSTRING(t2.data->>'userLabel', 2, 3) AS "SITEPROP", + SUBSTRING(LPAD(t2.data->>'cId', 5, '0'),0, 4) AS "SITEID", + t3.data->>'MeContext_id' as "SITENAME", + t1.data->>'plmnIdentity_mcc' AS "MCC", + t1.data->>'plmnIdentity_mnc' AS "MNC", + t2.data->>'lac' AS "LAC", + t2.data->>'rac' AS "RAC", + t2.data->>'uarfcnDl' AS "DLF", + t2.data->>'uarfcnUl' AS "ULF", + CASE WHEN t2.data->>'administrativeState' = '1' THEN 'UNLOCKED' + WHEN t2.data->>'administrativeState' = '0' THEN 'LOCKED' + ELSE 'SHUTTING_DOWN' + END + AS "ACTSTATUS", + '' AS "BLKSTATUS", + t2.data->>'primaryScramblingCode' AS "PSC", + t2.data->>'cId' AS "CID", + t2.data->>'cId' AS "CI", + CONCAT(t1.data->>'plmnIdentity_mcc', '-', LPAD(t1.data->>'plmnIdentity_mnc', 2, '0'), '-',LPAD(t2.data->>'lac',5, '0'), '-', LPAD(t2.data->>'cId',5, '0')) AS CGI, + CONCAT(t1.data->>'plmnIdentity_mcc', '-', t1.data->>'plmnIdentity_mnc', '-', t2.data->>'lac', '-', t2.data->>'cId') AS "CGI_RAW", + '' AS "CGI_HEX" +FROM ericsson_cm."UtranNetwork" t1 + INNER JOIN ericsson_cm."UtranCell" t2 ON t2.data->>'SubNetwork_2_id' = t1.data->>'SubNetwork_2_id' + LEFT JOIN ericsson_cm."RbsLocalCell" t3 ON t1.data->>'SubNetwork_2_id' = t1.data->>'SubNetwork_2_id' + AND t2.data->>'cId' = t3.data->>'localCellId' + +` + +const ERICSSON_4G_KEY_PARAMAETERS = ` +SELECT + t1.data->>'DATETIME' AS "DATETIME", + 'ERICSSON' AS "VENDOR", + '4G' AS "TECHNOLOGY", + t1.data->>'SubNetwork_2_id' AS "NENAME", + '' AS "NEID", + SUBSTRING(t2.data->>'MeContext_id',2, 3) AS "SITEPROP", + t2.data->>'eNBId' AS "SITEID", + t2.data->>'MeContext_id' AS "SITENAME", + t1.data->>'cellId' AS "CELLID", + t1.data->>'userLabel' AS "CELLNAME", + 256* CAST( t2.data->>'eNBId' AS integer) + CAST(t1.data->>'cellId' AS integer) AS "CI", + CASE WHEN t1.data->>'administrativeState' = '1' THEN 'UNLOCKED' + WHEN t1.data->>'administrativeState' = '0' THEN 'LOCKED' + ELSE 'SHUTTING_DOWN' + END + AS "ACTSTATUS", + '' AS "BLKSTATUS", + t1.data->>'dlChannelBandwidth' AS "DLBANDWIDTH", +-- t1.[BAND], + '' AS "CARR", + t1.data->>'earfcndl' AS "DLF", + t1.data->>'earfcnul' AS "ULF", + t1.data->>'mcc' AS "MCC", + t1.data->>'mnc' AS "MNC", + '' AS "LAC", + '' AS "RAC", + CONCAT(t1.data->>'mcc','-', t1.data->>'mnc', '-', LPAD(t1.data->>'MeContext_id', 5,'0'), '-',LPAD(t1.data->>'cellId', 3, '0')) AS "CGI", + t1.data->>'physicalLayerCellIdGroup' AS "PCI", + t1.data->>'tac' AS "TAC", + t1.data->>'rachRootSequence' AS "ROOTSEQ" +FROM ericsson_cm."EUtranCellFDD" t1 +INNER JOIN ericsson_cm."ENodeBFunction" t2 ON t2.data->>'SubNetwork_2_id' = t1.data->>'SubNetwork_2_id' + +`; + +const HUAWEI_2G_KEY_PARAMAETERS = ` + SELECT + t1.data->>'DATETIME' AS "DATETIME", + t2.data->>'SYSOBJECTID' as "NENAME", + 'HUAWEI' AS "VENDOR", + '2G' AS "TECHNOLOGY", + t3.data->>'BTSNAME' AS "SITENAME", + t3.data->>'BTSID' AS "SITEID", + t1.data->>'CELLNAME' AS "CELLNAME", + t1.data->>'ACTSTATUS' AS "ACTSTATUS", + t1.data->>'ADMSTAT' AS "BLKSTATUS", + t1.data->>'MCC' AS "MCC", + t1.data->>'MNC' AS "MNC", + t1.data->>'LAC' AS "LAC", + t1.data->>'CI' AS "CI", + t1.data->>'BCCHNO' AS "BCCHNO", + t1.data->>'NCC' AS "NCC", + t1.data->>'BCC' AS "BCC", + CONCAT(t1.data->>'NCC', t1.data->>'BCC') AS "BSIC", + CONCAT(t1.data->>'MCC', '-', t1.data->>'MNC', '-', t1.data->>'LAC', '-', t1.data->>'CI') AS "CGI_RAW", + CONCAT(t1.data->>'MCC', '-', t1.data->>'MNC', '-', LPAD(t1.data->>'LAC',5,'0'), '-', t1.data->>'CI') AS "CGI" + FROM huawei_cm."GCELL" t1 + INNER JOIN huawei_cm."SYS" t2 ON t1.data->>'FILENAME' = t2.data->>'FILENAME' + INNER JOIN huawei_cm."BTS" t3 ON t3.data->>'BTSID' = t1.data->>'BTSID' AND t1.data->>'FILENAME' = t3.data->>'FILENAME' +`; + + +const HUAWEI_3G_KEY_PARAMAETERS = ` +SELECT + t1.data->>'DATETIME' AS "DATETIME", + t2.data->>'SYSOBJECTID' AS "NENAME", + 'HUAWEI' AS "VENDOR", + '3G' AS "TECHNOLOGY", + '' AS "NEID", + t4.data->>'NODEBFUNCTIONNAME' AS "SITENAME", + t4.data->>'NODEBID' AS "SITEID", + t1.data->>'CELLNAME' AS "CELLNAME", + t1.data->>'ACTSTATUS' AS "ACTSTATUS", + t1.data->'ADMSTAT' AS "BLKSTATUS", + t5.data->>'MCC' AS "MCC", + t5.data->>'MNC' AS "MNC", + t1.data->>'LAC' AS "LAC", + t1.data->>'RAC' AS "RAC", + t1.data->>'SAC' AS "SAC", + t1.data->>'LOCELL' AS "CI", + t1.data->>'UARFCNDOWNLINK' AS "DLF", + t1.data->>'UARFCNUPLINK' AS "ULF", + t1.data->>'PSCRAMBCODE' AS "PSCRAMBCODE", + CONCAT(t5.data->>'MCC', '-', t5.data->>'MNC', '-', t1.data->>'LAC', '-', t1.data->>'LOCELL') AS "CGI_RAW", + CONCAT(t5.data->>'MCC', '-', t5.data->>'MNC', '-', LPAD(t1.data->>'LAC',5,'0'), '-', t1.data->>'LOCELL') AS "CGI" +FROM huawei_cm."UCELL" t1 + INNER JOIN huawei_cm."SYS" t2 ON t1.data->>'FILENAME' = t2.data->>'FILENAME' + INNER JOIN huawei_cm."URNCBASIC" t3 ON t3.data->>'RNCID' = t1.data->>'LOGICRNCID' AND t1.data->>'FILENAME' = t3.data->>'FILENAME' + INNER JOIN huawei_cm."UNODEB" t4 ON t1.data->>'FILENAME' = t1.data->>'FILENAME' + INNER JOIN huawei_cm."UCNOPERATOR" t5 ON t5.data->>'FILENAME' = t1.data->>'FILENAME' +`; + +const HUAWEI_4G_KEY_PARAMAETERS = ` + SELECT + t1.data->>'DATETIME' AS "DATETIME", + t2.data->>'SYSOBJECTID' as "NENAME", + 'HUAWEI' AS "VENDOR", + '4G' AS "TECHNOLOGY", + '' AS "NEID", + t1.data->>'ENODEBFUNCTIONNAME' AS "SITENAME", + t4.data->>'ENODEBID' AS "SITEID", + t1.data->>'CELLNAME' AS "CELLNAME", + t1.data->>'CELLACTIVESTATE' AS "ACTSTATUS", + -- t1."ADMSTAT" AS "BLKSTATUS", + t5.data->>'MCC' AS "MCC", + t5.data->>'MNC' AS "MNC", + t6.data->>'TAC' AS "TAC", + t1.data->>'CELLID' AS "CI", + t1.data->>'PHYCELLID' AS "PCI", + t1.data->>'DLBANDWIDTH' AS "UARFCNDOWNLINK", + t1.data->>'DLEARFCN' AS "DLF", + t1.data->>'ULEARFCN' AS "ULF", + CONCAT(t5.data->>'MCC', '-', t5.data->>'MNC', '-', t4.data->>'ENODEBID', '-', t1.data->>'LOCALCELLID') AS "CGI_RAW", + CONCAT(t5.data->>'MCC', '-', t5.data->>'MNC', '-', LPAD(t4.data->>'ENODEBID',5,'0'), '-', t1.data->>'LOCALCELLID') AS "CGI" + FROM huawei_cm."CELL" t1 + INNER JOIN huawei_cm."SYS" t2 ON t1.data->>'FILENAME' = t2.data->>'FILENAME' + INNER JOIN huawei_cm."ENODEBFUNCTION" t4 ON t4.data->>'FILENAME' = t1.data->>'FILENAME' + INNER JOIN huawei_cm."CNOPERATOR" t5 ON t5.data->>'FILENAME' = t1.data->>'FILENAME' + INNER JOIN huawei_cm."CNOPERATORTA" t6 ON t6.data->>'FILENAME' = t1.data->>'FILENAME' + +`; + +const ZTE_2G_KEY_PARAMAETERS = ` +SELECT + t1.data->'userLabel' AS name, + t1.data->'cellIdentity' AS ci, + t1.data->'bcc' AS bcc, + t1.data->'ncc' AS ncc, + CONCAT(trim(t1.data->>'ncc'),trim(t1.data->>'bcc')) AS bsic, + t1.data->>'bcchFrequency' AS bcch, + t1.data->>'lac' AS lac, + t1.data->>'Latitude' AS latitude, + t1.data->>'Longitude' as longitude , + CONCAT( TRIM(t1.data->>'mcc'),'-', TRIM(t1.data->>'mnc'),'-',TRIM(t1.data->>'lac'),'-',TRIM(t1.data->>'cellIdentity')) AS cgi, + t1.data->>'mcc' as mcc, + t1.data->>'mnc' as mnc, + t1.data->>'altitude' AS height +FROM zte_cm."GsmCell" t1 + +`; + +const ZTE_3G_KEY_PARAMAETERS = ` +SELECT + t1.data->>'varDateTime' AS "DATETIME", + t1.data->>'bchPower' AS "bchPower", + t1.data->>'cid' as ci, + t1.data->>'refULocationArea' AS "lac", + ((t1.data->>'anteLatitude')::float/93206.76)*(-1::float*(t1.data->>'anteLatitudeSign')::float) AS "latitude", + (t1.data->>'anteLongitude')::float/46603.38 as longitude, + t1.data->>'maximumTransmissionPower' AS "maxTxPower", + t1.data->>'primaryCpichPower' AS "cpichPower", + t1.DATA->>'primarySchPower' AS "primarySchPower", + t1.data->>'primaryScramblingCode' AS psc, + t1.data->>'refURoutingArea' AS rac, + t1.data->>'sac' AS sac, + t1.data->>'secondarySchPower' AS "secondarySchPower", + t1.data->>'uarfcnDl' AS "uarfcnDl", + t1.data->>'uarfcnUl' AS "uarfcnUl", + t1.data->>'uraList' AS ura, + t1.data->>'altitude' AS "altitude", + t2.data->>'mcc' AS mcc, + t2.data->>'mnc' AS mnc, + t1.data->>'localCellId' AS "localcellid" +FROM zte_cm."UtranCellFDD" t1 +INNER JOIN zte_cm."LogicalCell" t2 on t2.data->>'MEID' = t1.data->>'MEID' + AND t2.data->>'rncid' = t1.data->>'rncid' + AND t2.data->>'cid' = t1.data->>'cid' + +`; + +const ZTE_4G_KEY_PARAMAETERS = ` +SELECT + t1.data->>'DATETIME' AS "DATETIME", + t1.data->>'EUtranCellFDD_id' as name, + t1.data->>'earfcnDl' as "earfcnDl", + t1.data->>'earfcnUl' as "earfcnUl", + t1.data->>'tac' as "tac", + t1.data->>'pci' as "pci", + ((t1.data->>'latitude')::float/93206.76)*(-1::float) as latitude, + (t1.data->>'longitude')::float/46603.38 as longitude, + t1.data->>'bandWidthDl' as "bandWidthDl", + t1.data->>'bandWidthUl' as "bandWidthUl", + t1.data->>'cellRadius' as "cellRadius" +FROM zte_cm."EUtranCellFDD" t1 +`; + + +//eslint-disable-next-line +const NOKIA_2G_KEY_PARAMAETERS = ` +SELECT + t1.data->>'DATETIME' AS "DATETIME", + CONCAT(TRIM(t1.data->>'name'),'(',TRIM(t1.data->>'cellId'), ')') AS name, + t1.data->>'cellId' AS ci, + t1.data->>'bsIdentityCodeBCC' AS bcc, + t1.data->>'bsIdentityCodeNCC' AS ncc, + CONCAT(TRIM(t1.data->>'bsIdentityCodeNCC'), TRIM(t1.data->>'bsIdentityCodeBCC')) AS bsic, + t2.data->>'initialFrequency' AS bcch, + t1.data->>'locationAreaIdLAC' AS lac, + CONCAT( TRIM(t1.data->>'locationAreaIdMCC'),'-', TRIM(t1.data->>'locationAreaIdMNC'),'-',TRIM(t1.data->>'locationAreaIdLAC'),'-',TRIM(t1.data->>'cellId')) AS cgi, + t1.data->>'angle' AS azimuth, + t1.data->>'hoppingSequenceNumber1' AS hsn, + t1.data->>'hoppingMode' AS "hoppingType", + t1.data->>'locationAreaIdMCC' as mcc, + t1.data->>'locationAreaIdMNC' as mnc +FROM nokia_cm."BTS" t1 +INNER JOIN nokia_cm."TRX" t2 ON + t1.data->>'DISTNAME' = SUBSTRING(t2.data->>'DISTNAME', '.*BTS-\\d+') +INNER JOIN nokia_cm."BCF" t3 ON + t3.data->>'FILENAME' = t1.data->>'FILENAME' + AND CONCAT(TRIM(t3.data->>'DISTNAME'), '/BTS-',TRIM(t1.data->>'segmentId')) = TRIM(t1.data->>'DISTNAME') +WHERE + TRIM(t2.data->>'preferredBcchMark') = 'The TRX is a preferred TRX (P)' +` + +//eslint-disable-next-line +const NOKIA_3G_KEY_PARAMAETERS = ` +SELECT + t1.data->>'DATETIME' AS "DATETIME", + t1.data->>'CId' AS "CId", + t1.data->>'LAC' AS lac, + t1.data->>'PtxCellMax' AS "maxTxPower", + t1.data->>'name' AS "cellName", + t1.data->>'PtxPrimaryCPICH' AS "cpichPower", + t1.data->>'PtxPrimarySCH' AS "primarySchPower", + t1.data->>'PriScrCode' AS "psc", + t1.data->>'RAC' as "rac", + t1.data->>'SAC' AS "sac", + t1.data->>'PtxSecSCH' AS "secondarySchPower", + t1.data->>'UARFCN' AS "uarfcnDl", + t1.data->>'URAId' AS ura , + t1.data->>'WCELMCC' AS mcc, + t1.data->'WCELMNC' AS mnc, + t1.data->>'URAId' AS ura, + t1.data->>'CId' AS ci +FROM nokia_cm."WCEL" t1 +INNER JOIN nokia_cm."WBTS" t2 ON + t2.data->>'FILENAME' = t1.data->>'FILENAME' + AND TRIM(t2.data->>'DISTNAME') = SUBSTRING(t1.data->>'DISTNAME','.*WBTS-\\d+') +` + +//eslint-disable-next-line +const NOKIA_4G_KEY_PARAMAETERS = ` +SELECT + t1.data->>'DATETIME' AS "DATETIME", + TRIM(t1.data->>'name') AS "name", + t1.data->>'earfcnUL' AS "uarfcnDl", + t1.data->>'mcc' AS mcc, + t1.data->>'mnc' AS mnc, + t1.data->>'tac' AS tac, + t1.data->>'phyCellId' AS pci, + t1.data->>'rootSeqIndex' AS "rachRootSequence", + t1.data->>'altitude' AS height, + t1.data->'dlChBw' AS "dlBandwidth" +FROM nokia_cm."LNCEL" t1 +` + +const NETWORK_CELLS = ` +-- Ericsson 2G +SELECT + t1.data->>'DATETIME' AS "DATETIME", + 'ERICSSON' as "VENDOR", + '3G' AS "TECH", + t1.data->>'CI' AS "CELLID", + t1.data->>'CELL_NAME' AS "CELLNAME" +FROM ericsson_cm."INTERNAL_CELL" t1 +UNION +-- Ericsson 3G Cells +SELECT + t1.data->>'DATETIME' AS "DATETIME", + 'ERICSSON' as "VENDOR", + '3G' AS "TECH", + t1.data->>'cId' AS "CELLID", + t1.data->>'userLabel' AS "CELLNAME" +FROM ericsson_cm."UtranCell" t1 +UNION +-- Ericsson 4G +SELECT + t1.data->>'DATETIME' AS "DATETIME", + 'ERICSSON' as "VENDOR", + '4G' AS "TECH", + -- (256 * (t1.data->>'ENODEBID')::INTEGER + (t1.data->>'CellID')::INTEGER)::text AS "CELLID", + t1.data->>'cellId' AS "CELLID", + t1.data->>'EUtranCellFDD_id' AS "CELLNAME" +FROM + ericsson_cm."EUtranCellFDD" t1 +UNION +-- Huawei 2G +SELECT + t1.data->>'DATETIME' AS "DATETIME", + 'HUAWEI' as "VENDOR", + '2G' AS "TECH", + t1.data->>'CI' AS "CELLID", + t1.data->>'CELLNAME' AS "CELLNAME" +FROM + huawei_cm."GCELL" t1 +UNION +-- Huawei 3G Cells +SELECT + t1.data->>'DATETIME' AS "DATETIME", + 'HUAWEI' as "VENDOR", + '3G' AS "TECH", + t1.data->>'CELLID' AS "CELLID", + t1.data->>'CELLNAME' AS "CELLNAME" +FROM +huawei_cm."UCELL" t1 +UNION +-- Huawei 4G Cells +SELECT + t1.data->>'DATETIME' AS "DATETIME", + 'HUAWEI' as "VENDOR", + '4G' AS "TECH", + t1.data->>'CELLID' AS "CELLID", + t1.data->>'CELLNAME' AS "CELLNAME" +FROM +huawei_cm."CELL" t1 +UNION +-- ZTE 2G Cells +SELECT + t1.data->>'DateTime' AS "DATETIME", + 'ZTE' as "VENDOR", + '2G' AS "TECH", + t1.data->>'cellIdentity' AS "CELLID", + t1.data->>'userLabel' AS "CELLNAME" +FROM +zte_cm."GsmCell" t1 +UNION +-- ZTE 3G Cells +SELECT + t1.data->>'DateTime' AS "DATE TIME", + 'ZTE' as "VENDOR", + '3G' AS "TECH", + t1.data->>'cid' AS "CELLID", + t1.data->>'userLabel' AS "CELLNAME" +FROM +zte_cm."UtranCellFDD" t1 +UNION +-- ZTE 4G Cells +SELECT + t1.data->>'DateTime' AS "DATE TIME", + 'ZTE' as "VENDOR", + '4G' AS "TECH", + t1.data->>'cId' AS "CELLID", + t1.data->>'userLabel' AS "CELLNAME" +FROM +zte_cm."EUtranCellFDD" t1 +UNION +-- Nokia 2G Cells +SELECT + t1.data->>'DATETIME' AS "DATETIME", + 'NOKIA' as "VENDOR", + '2G' AS "TECH", + t1.data->>'cellId' AS "CELLID", + t1.data->>'name' AS "CELLNAME" + +FROM nokia_cm."BTS" t1 +UNION +-- Nokia 3G Cells +SELECT + t1.data->>'DATETIME' AS "DATETIME", + 'NOKIA' as "VENDOR", + '3G' AS "TECH", + t1.data->>'CId' AS "CELLID", + t1.data->>'name' AS "CELLNAME" + +FROM nokia_cm."WCEL" t1 +UNION +-- Nokia 4G Cells +SELECT + t1.data->>'DATETIME' AS "DATETIME", + 'NOKIA' as "VENDOR", + '4G' AS "TECH", + t1.data->>'phyCellId' AS "CELLID", + t1.data->>'name' AS "CELLNAME" + +FROM nokia_cm."LNBTS" t1 +` + +const NETWORK_SITES = ` +-- Ericsson 2G Sites +SELECT + 'ERICSSON' as "VENDOR", + '2G' AS "TECH", + t1.data->>'SITE_NAME' AS "SITENAME" +from ericsson_cm."SITE" t1 +UNION +-- Ericsson 3G Sites +SELECT + 'ERICSSON' as "VENDOR", + '3G' AS "TECH", +t1.data->>'MeContext_id' AS "SITENAME" +FROM +ericsson_cm."NodeBFunction" t1 +UNION +-- Ericsson 4G +SELECT + 'ERICSSON' as "VENDOR", + '4G' AS "TECH", + t1.data->>'MeContext_id' AS "SITENAME" +FROM ericsson_cm."ENodeBFunction" t1 +UNION +-- Huawei 4G + SELECT + 'HUAWEI' as "VENDOR", + '4G' AS "TECH", + t1.data->>'ENODEBFUNCTIONNAME' AS "SITENAME" + FROM + huawei_cm."ENODEBFUNCTION" t1 + -- Huawei 2G + UNION + SELECT + 'HUAWEI' as "VENDOR", + '4G' AS "TECH", + t1.data->>'BTSNAME' AS "SITENAME" +from huawei_cm."BTS" t1 +UNION +-- Huawei 3G +SELECT + 'HUAWEI' as "VENDOR", + '3G' AS "TECH", + t1.data->>'NODEBNAME' AS "SITENAME" +from huawei_cm."UNODEB" t1 +UNION +-- ZTE 4G + SELECT + 'ZTE' as "VENDOR", + '4G' AS "TECH", + t1.data->>'userLabel' AS "SITENAME" + FROM + zte_cm."ENBFunction" t1 +UNION + -- ZTE 2G + SELECT + 'ZTE' as "VENDOR", + '2G' AS "TECH", +t1.data->>'userLabel' AS "SITENAME" +from zte_cm."BtsSiteManager" t1 +UNION +-- ZTE 3G +SELECT + 'ZTE' as "VENDOR", + '3G' AS "TECH", + t1.data->>'userLabel' AS "SITENAME" +from zte_cm."NodeBFunction" t1 +UNION +-- Nokia 4G + SELECT + 'NOKIA' as "VENDOR", + '4G' AS "TECH", + TRIM(t1.data->>'name') AS "SITENAME" + FROM + nokia_cm."LNBTS" t1 + UNION + -- Nokia 2G + SELECT + 'NOKIA' as "VENDOR", + '2G' AS "TECH", + CONCAT(TRIM(t1.data->>'name'),'(',TRIM(t1.data->>'lapdLinkName'),')') AS "SITENAME" +FROM nokia_cm."BCF" t1 +UNION +-- Nokia 3G +SELECT + 'NOKIA' as "VENDOR", + '3G' AS "TECH", + TRIM(t1.data->>'name' ) AS "SITENAME" +FROM +nokia_cm."WBTS" t1 +` + +const NETWORK_NODES = ` +SELECT + 'HUAWEI' AS "VENDOR", + t1.data->>'SYSOBJECTID' as "NODENAME" +FROM huawei_cm."SYS" t1 +UNION +SELECT + 'NOKIA' AS "VENDOR", + t1.data->>'name' as "NODENAME" +FROM nokia_cm."BSC" t1 +UNION +SELECT + 'NOKIA' AS "VENDOR", + t1.data->>'name' as "NODENAME" +from nokia_cm."RNC" t1 +UNION +SELECT + 'ZTE' as "VENDOR", + t1.data->>'userLabel' AS "NODENAME" +FROM zte_cm."SubNetwork_2" t1 +UNION +SELECT + 'ERICSSON' AS "VENDOR", + t1.data->>'MeContext_id' AS "SITENAME" +FROM ericsson_cm."RncFunction" t1 + +`; + +exports.up = (pgm) => { + pgm.sql(` +INSERT INTO + reports.categories (name, notes, parent_id, in_built) +VALUES + ('Key Parameters','Key parameter reports',0, true), + ('Network Entities','Network Entities reports',0, true) + `); + + + pgm.sql(` +INSERT INTO + reports.reports (name, notes, query, options, type, category_id, in_built) +VALUES + ('Ericsson 2G parameters','Ericsson 2G parameters', $$${ERICSSON_2G_KEY_PARAMAETERS}$$, '{}', 'table',1, true), + ('Ericsson 3G parameters','Ericsson 3G parameters', $$${ERICSSON_3G_KEY_PARAMAETERS}$$, '{}', 'table',1, true), + ('Ericsson 4G parameters','Ericsson 4G parameters', $$${ERICSSON_4G_KEY_PARAMAETERS}$$, '{}', 'table',1, true), + ('Huawei 2G parameters','Huawei 2G parameters', $$${HUAWEI_2G_KEY_PARAMAETERS}$$, '{}', 'table',1, true), + ('Huawei 3G parameters','Huawei 3G parameters', $$${HUAWEI_3G_KEY_PARAMAETERS}$$, '{}', 'table',1, true), + ('Huawei 4G parameters','Huawei 4G parameters', $$${HUAWEI_4G_KEY_PARAMAETERS}$$, '{}', 'table',1, true), + ('ZTE 2G parameters','ZTE 2G parameters', $$${ZTE_2G_KEY_PARAMAETERS}$$, '{}', 'table',1, true), + ('ZTE 3G parameters','ZTE 3G parameters', $$${ZTE_3G_KEY_PARAMAETERS}$$, '{}', 'table',1, true), + ('ZTE 4G parameters','ZTE 4G parameters', $$${ZTE_4G_KEY_PARAMAETERS}$$, '{}', 'table',1, true), + ('Nokia 2G parameters','Nokia 2G parameters', $$${NOKIA_2G_KEY_PARAMAETERS}$$, '{}', 'table',1, true), + ('Nokia 3G parameters','Nokia 3G parameters', $$${NOKIA_3G_KEY_PARAMAETERS}$$, '{}', 'table',1, true), + ('Nokia 4G parameters','Nokia 4G parameters', $$${NOKIA_4G_KEY_PARAMAETERS}$$, '{}', 'table',1, true), + ('Network Cells','Network Cells', $$${NETWORK_CELLS}$$, '{}', 'table',2, true), + ('Network Sites','Network Sites', $$${NETWORK_SITES}$$, '{}', 'table',2, true), + ('Network Nodes','Network Nodes', $$${NETWORK_NODES}$$, '{}', 'table',2, true) + `,{ + ERICSSON_2G_KEY_PARAMAETERS: ERICSSON_2G_KEY_PARAMAETERS, + ERICSSON_3G_KEY_PARAMAETERS: ERICSSON_3G_KEY_PARAMAETERS, + ERICSSON_4G_KEY_PARAMAETERS: ERICSSON_4G_KEY_PARAMAETERS, + HUAWEI_2G_KEY_PARAMAETERS: HUAWEI_2G_KEY_PARAMAETERS, + HUAWEI_3G_KEY_PARAMAETERS: HUAWEI_3G_KEY_PARAMAETERS, + HUAWEI_4G_KEY_PARAMAETERS: HUAWEI_4G_KEY_PARAMAETERS, + ZTE_2G_KEY_PARAMAETERS : ZTE_2G_KEY_PARAMAETERS, + ZTE_3G_KEY_PARAMAETERS : ZTE_3G_KEY_PARAMAETERS, + ZTE_4G_KEY_PARAMAETERS : ZTE_4G_KEY_PARAMAETERS, + NOKIA_2G_KEY_PARAMAETERS : NOKIA_2G_KEY_PARAMAETERS, + NOKIA_3G_KEY_PARAMAETERS : NOKIA_3G_KEY_PARAMAETERS, + NOKIA_4G_KEY_PARAMAETERS : NOKIA_4G_KEY_PARAMAETERS, + NETWORK_CELLS : NETWORK_CELLS, + NETWORK_SITES : NETWORK_SITES, + NETWORK_NODES : NETWORK_NODES + }) +}; + +exports.down = (pgm) => { + pgm.sql("TRUNCATE TABLE reports.reports RESTART IDENTITY CASCADE"); + pgm.sql("TRUNCATE TABLE reports.categories RESTART IDENTITY CASCADE"); +}; diff --git a/db/migrations/1564365567016_create-plan-network-schema.js b/db/migrations/1564365567016_create-plan-network-schema.js new file mode 100644 index 00000000..20e4e6e0 --- /dev/null +++ b/db/migrations/1564365567016_create-plan-network-schema.js @@ -0,0 +1,241 @@ +exports.shorthands = undefined; + +exports.up = (pgm) => { + pgm.createSchema("plan_network", {ifNotExists : true} ); + + //Create 2G cells table + pgm.createTable( + {schema: "plan_network", name: "2g_cells"}, + { + id: "id", + technology: {type: "varchar(50)", default: "GSM"}, //gsm + ci: {type: "integer", notNull: true}, + cellname: {type: "varchar(100)"}, + siteid: {type: "varchar(50)"}, + carrier_layer: {type: "varchar(50)"}, + azimuth: {type: "float", notNull: true, default: 0}, + electrical_tilt: {type: "float"}, + mechanical_tilt: {type: "float"}, + lac: {type: "integer", notNull: true}, + node: {type: "varchar(50)", notNull: true, comment: "BSC Name"}, + bcch: {type: "integer", notNull: true}, + trx_frequencies: {type: "text"}, + antenna_beam: {type: "float", default: 30}, + latitude: {type: "float"}, + longitude: {type: "float"}, + height: {type: "float"}, + vendor: {type: "varchar(50)"}, + cell_type: {type: "varchar(50)", comment: "macro, micro, indoor, etc"}, + bsic: {type: "varchar(5)"}, + bcc: {type: "integer"}, + ncc: {type: "integer"}, + mnc: {type: "integer"}, + mcc: {type: "integer"}, + cgi: {type: "varchar(200)"}, + created_at: "createdAt", + modified_at: "createdAt", + created_by: "createdBy", + modified_by: "createdBy" + } + ); + + //Create 3g cells table + pgm.createTable( + {schema: "plan_network", name: "3g_cells"}, + { + id: "id", + technology: {type: "varchar(50)", default: "UMTS"}, //UMTS,CDMA2000 + ci: {type: "integer", notNull: true}, + cellname: {type: "varchar(100)"}, + siteid: {type: "varchar(50)", comment: "Site name"}, + carrier_layer: {type: "varchar(50)"}, + azimuth: {type: "float", notNull: true}, + electrical_tilt: {type: "float"}, + mechanical_tilt: {type: "float"}, + lac: {type: "integer", notNull: true}, + rac: {type: "integer"}, + sac: {type: "integer"}, + node: {type: "varchar(50)", notNull: true, comment: "BSC Name"}, + psc: {type: "integer", notNull: true}, + uarfcn: {type: "integer", notNull: true}, + antenna_beam: {type: "float"}, + latitude: {type: "float"}, + longitude: {type: "float"}, + height: {type: "float"}, + vendor: {type: "varchar(50)"}, + cell_type: {type: "varchar(50)", comment: "macro, micro, indoor, etc"}, + mnc: {type: "integer"}, + mcc: {type: "integer"}, + cgi: {type: "varchar(200)"}, + rncid: {type: "integer"}, + created_at: "createdAt", + modified_at: "createdAt", + created_by: "createdBy", + modified_by: "createdBy" + } + ); + + //Create 4g cells table + pgm.createTable( + {schema: "plan_network", name: "4g_cells"}, + { + id: "id", + technology: {type: "varchar(50)", default: "LTE"}, + ci: {type: "integer", notNull: true}, + localcellid: {type: "integer", notNull: true}, + cellname: {type: "varchar(100)"}, + siteid: {type: "varchar(50)", comment: "Site name"}, + enodeb_id: {type: "varchar(50)"}, + carrier_layer: {type: "varchar(50)"}, + azimuth: {type: "float", notNull: true}, + electrical_tilt: {type: "float"}, + mechanical_tilt: {type: "float"}, + tac: {type: "integer"}, + node: {type: "varchar(50)", comment: "MME or Pool"}, + pci: {type: "integer", notNull: true}, + euarfcn: {type: "integer", notNull: true}, + bandwidth: {type: "integer"}, + ecgi: {type: "varchar(200)"}, + mnc: {type: "integer"}, + mcc: {type: "integer"}, + antenna_beam: {type: "float"}, + latitude: {type: "float"}, + longitude: {type: "float"}, + height: {type: "float"}, + vendor: {type: "varchar(50)"}, + cell_type: {type: "varchar(50)", comment: "macro, micro, indoor, etc"}, + created_at: "createdAt", + modified_at: "createdAt", + created_by: "createdBy", + modified_by: "createdBy" + } + ); + + //Create 4g cells table + pgm.createTable( + {schema: "plan_network", name: "relations"}, + { + id: "id", + svr_ci: {type: "integer", notNull: true}, + nbr_ci: {type: "integer", notNull: true}, + created_at: "createdAt", + modified_at: "createdAt", + created_by: "createdBy", + modified_by: "createdBy" + } + ); + + //Create combined cell view + pgm.createView( + {name: "vw_cells", schema: "plan_network"}, + {replace: true}, + ` + SELECT + t2g.technology, + t2g.ci, + t2g.cellname, + t2g.siteid, + t2g.carrier_layer, + t2g.azimuth, + t2g.electrical_tilt, + t2g.mechanical_tilt, + t2g.lac, + null AS psc, + null AS rac, + null AS sac, + t2g.node, + null AS pci, + null AS tac, + t2g.cgi, + t2g.bcch AS frequency, + null AS bandwidth, + t2g.antenna_beam, + t2g.latitude, + t2g.longitude, + t2g.height, + t2g.vendor, + t2g.cell_type, + t2g.bsic + FROM + plan_network."2g_cells" t2g + UNION + SELECT + t3g.technology, + t3g.ci, + t3g.cellname, + t3g.siteid, + t3g.carrier_layer, + t3g.azimuth, + t3g.electrical_tilt, + t3g.mechanical_tilt, + t3g.lac, + t3g.psc, + t3g.rac, + t3g.sac, + t3g.node, + null AS pci, + null AS tac, + t3g.cgi, + t3g.uarfcn AS frequency, + null AS bandwidth, + t3g.antenna_beam, + t3g.latitude, + t3g.longitude, + t3g.height, + t3g.vendor, + t3g.cell_type, + null AS bsic + FROM + plan_network."3g_cells" t3g + UNION + SELECT + t4g.technology, + t4g.ci, + t4g.cellname, + t4g.siteid, + t4g.carrier_layer, + t4g.azimuth, + t4g.electrical_tilt, + t4g.mechanical_tilt, + null AS lac, + null AS psc, + null AS rac, + null AS sac, + null AS node, + t4g.pci::varchar, + t4g.tac::varchar, + t4g.ecgi as "cgi", + t4g.euarfcn AS frequency, + t4g.bandwidth AS bandwidth, + t4g.antenna_beam, + t4g.latitude, + t4g.longitude, + t4g.height, + t4g.vendor, + t4g.cell_type, + null AS bsic + FROM + plan_network."4g_cells" t4g + ` + ); + + pgm.addConstraint({schema: "plan_network", name: '2g_cells'}, "unq_ci_node_2g_cells", {unique: ["ci", "node"]}); + pgm.addConstraint({schema: "plan_network", name: '3g_cells'}, "unq_ci_node_3g_cells", {unique: ["ci", "node"]}); + pgm.addConstraint({schema: "plan_network", name: '4g_cells'}, "unq_ci_node_4g_cells", {unique: ["ci", "node"]}); + + pgm.addConstraint({schema: "plan_network", name: 'relations'}, "unq_relations", {unique: ["svr_ci", "nbr_ci"]}); + +}; + +exports.down = (pgm) => { + pgm.dropConstraint({schema: "plan_network", name: 'relations'}, "unq_relations"); + pgm.dropConstraint({schema: "plan_network", name: '2g_cells'}, "unq_ci_node_2g_cells"); + pgm.dropConstraint({schema: "plan_network", name: '3g_cells'}, "unq_ci_node_3g_cells"); + pgm.dropConstraint({schema: "plan_network", name: '4g_cells'}, "unq_ci_node_4g_cells"); + pgm.dropView({schema: "plan_network", name: 'vw_cells'}); + pgm.dropTable({schema: "plan_network", name: 'relations'}); + pgm.dropTable({schema: "plan_network", name: '2g_cells'}); + pgm.dropTable({schema: "plan_network", name: '3g_cells'}); + pgm.dropTable({schema: "plan_network", name: '4g_cells'}); + pgm.dropSchema("plan_network", {ifExists : true} ); +}; diff --git a/db/migrations/1564726061387_create-live-network-schema.js b/db/migrations/1564726061387_create-live-network-schema.js new file mode 100644 index 00000000..f703dea4 --- /dev/null +++ b/db/migrations/1564726061387_create-live-network-schema.js @@ -0,0 +1,282 @@ +exports.shorthands = undefined; + +exports.up = (pgm) => { + pgm.createSchema("live_network", {ifNotExists : true} ); + + + //Nodes + pgm.createTable( + {schema: "live_network", name: "nodes"}, + { + id: "id", + technology: {type: "varchar(50)", default: "GSM"}, //gsm + nodename: {type: "varchar(100)"}, + node_type: {type: "varchar(20)"}, //BSC, RNC, MBC + vendor: {type: "varchar(50)"}, + created_at: "createdAt", + modified_at: "createdAt", + created_by: "createdBy", + modified_by: "createdBy" + } + ); + + + //Sites + pgm.createTable( + {schema: "live_network", name: "sites"}, + { + id: "id", + technology: {type: "varchar(50)", default: "GSM"}, //gsm + sitename: {type: "varchar(100)"}, + siteid: {type: "varchar(50)"}, + latitude: {type: "float"}, + longitude: {type: "float"}, + vendor: {type: "varchar(50)"}, + created_at: "createdAt", + modified_at: "createdAt", + created_by: "createdBy", + modified_by: "createdBy" + } + ); + + + //Create 2G cells table + pgm.createTable( + {schema: "live_network", name: "2g_cells"}, + { + id: "id", + technology: {type: "varchar(50)", default: "GSM"}, //gsm + ci: {type: "integer", notNull: true}, + cellname: {type: "varchar(100)"}, + siteid: {type: "varchar(50)"}, + carrier_layer: {type: "varchar(50)"}, + azimuth: {type: "float", notNull: true}, + electrical_tilt: {type: "float"}, + mechanical_tilt: {type: "float"}, + lac: {type: "integer", notNull: true}, + node: {type: "varchar(50)", notNull: true, comment: "BSC Name"}, + bcch: {type: "integer", notNull: true}, + trx_frequencies: {type: "text"}, + antenna_beam: {type: "float"}, + latitude: {type: "float"}, + longitude: {type: "float"}, + height: {type: "float"}, + vendor: {type: "varchar(50)"}, + cell_type: {type: "varchar(50)", comment: "macro, micro, indoor, etc"}, + bsic: {type: "varchar(5)"}, + bcc: {type: "integer"}, + ncc: {type: "integer"}, + mnc: {type: "integer"}, + mcc: {type: "integer"}, + cgi: {type: "varchar(200)"}, + created_at: "createdAt", + modified_at: "createdAt", + created_by: "createdBy", + modified_by: "createdBy" + } + ); + + //Create 3g cells table + pgm.createTable( + {schema: "live_network", name: "3g_cells"}, + { + id: "id", + technology: {type: "varchar(50)", default: "UMTS"}, //UMTS,CDMA2000 + ci: {type: "integer", notNull: true}, + cellname: {type: "varchar(100)"}, + siteid: {type: "varchar(50)", comment: "Site name"}, + carrier_layer: {type: "varchar(50)"}, + azimuth: {type: "float", notNull: true}, + electrical_tilt: {type: "float"}, + mechanical_tilt: {type: "float"}, + lac: {type: "integer", notNull: true}, + rac: {type: "integer"}, + sac: {type: "integer"}, + node: {type: "varchar(50)", notNull: true, comment: "BSC Name"}, + psc: {type: "integer", notNull: true}, + uarfcn: {type: "integer", notNull: true}, + antenna_beam: {type: "float"}, + latitude: {type: "float"}, + longitude: {type: "float"}, + height: {type: "float"}, + vendor: {type: "varchar(50)"}, + cell_type: {type: "varchar(50)", comment: "macro, micro, indoor, etc"}, + mnc: {type: "integer"}, + mcc: {type: "integer"}, + cgi: {type: "varchar(200)"}, + rncid: {type: "integer"}, + created_at: "createdAt", + modified_at: "createdAt", + created_by: "createdBy", + modified_by: "createdBy" + } + ); + + //Create 4g cells table + pgm.createTable( + {schema: "live_network", name: "4g_cells"}, + { + id: "id", + technology: {type: "varchar(50)", default: "LTE"}, + ci: {type: "integer", notNull: true}, + localcellid: {type: "integer", notNull: true}, + cellname: {type: "varchar(100)"}, + siteid: {type: "varchar(50)", comment: "Site name"}, + enodeb_id: {type: "varchar(50)"}, + carrier_layer: {type: "varchar(50)"}, + azimuth: {type: "float", notNull: true}, + electrical_tilt: {type: "float"}, + mechanical_tilt: {type: "float"}, + tac: {type: "integer"}, + node: {type: "varchar(50)", comment: "MME or Pool"}, + pci: {type: "integer", notNull: true}, + euarfcn: {type: "integer", notNull: true}, + bandwidth: {type: "integer"}, + ecgi: {type: "varchar(200)"}, + mnc: {type: "integer"}, + mcc: {type: "integer"}, + antenna_beam: {type: "float"}, + latitude: {type: "float"}, + longitude: {type: "float"}, + height: {type: "float"}, + vendor: {type: "varchar(50)"}, + cell_type: {type: "varchar(50)", comment: "macro, micro, indoor, etc"}, + created_at: "createdAt", + modified_at: "createdAt", + created_by: "createdBy", + modified_by: "createdBy" + } + ); + + //Create 4g cells table + pgm.createTable( + {schema: "live_network", name: "relations"}, + { + id: "id", + svr_ci: {type: "integer", notNull: true}, + nbr_ci: {type: "integer", notNull: true}, + created_at: "createdAt", + modified_at: "createdAt", + created_by: "createdBy", + modified_by: "createdBy" + } + ); + + //Create combined cell view + pgm.createView( + {name: "vw_cells", schema: "live_network"}, + {replace: true}, + ` + SELECT + t2g.technology, + t2g.ci, + t2g.cellname, + t2g.siteid, + t2g.carrier_layer, + t2g.azimuth, + t2g.electrical_tilt, + t2g.mechanical_tilt, + t2g.lac, + null AS psc, + null AS rac, + null AS sac, + t2g.node, + null AS pci, + null AS tac, + t2g.cgi, + t2g.bcch AS frequency, + null AS bandwidth, + t2g.antenna_beam, + t2g.latitude, + t2g.longitude, + t2g.height, + t2g.vendor, + t2g.cell_type, + t2g.bsic + FROM + live_network."2g_cells" t2g + UNION + SELECT + t3g.technology, + t3g.ci, + t3g.cellname, + t3g.siteid, + t3g.carrier_layer, + t3g.azimuth, + t3g.electrical_tilt, + t3g.mechanical_tilt, + t3g.lac, + t3g.psc, + t3g.rac, + t3g.sac, + t3g.node, + null AS pci, + null AS tac, + t3g.cgi, + t3g.uarfcn AS frequency, + null AS bandwidth, + t3g.antenna_beam, + t3g.latitude, + t3g.longitude, + t3g.height, + t3g.vendor, + t3g.cell_type, + null AS bsic + FROM + live_network."3g_cells" t3g + UNION + SELECT + t4g.technology, + t4g.ci, + t4g.cellname, + t4g.siteid, + t4g.carrier_layer, + t4g.azimuth, + t4g.electrical_tilt, + t4g.mechanical_tilt, + null AS lac, + null AS psc, + null AS rac, + null AS sac, + null AS node, + t4g.pci::varchar, + t4g.tac::varchar, + t4g.ecgi as "cgi", + t4g.euarfcn AS frequency, + t4g.bandwidth AS bandwidth, + t4g.antenna_beam, + t4g.latitude, + t4g.longitude, + t4g.height, + t4g.vendor, + t4g.cell_type, + null AS bsic + FROM + live_network."4g_cells" t4g + ` + ); + + pgm.addConstraint({schema: "live_network", name: '2g_cells'}, "unq_ci_node_2g_cells", {unique: ["ci", "node"]}); + pgm.addConstraint({schema: "live_network", name: '3g_cells'}, "unq_ci_node_3g_cells", {unique: ["ci", "node"]}); + pgm.addConstraint({schema: "live_network", name: '4g_cells'}, "unq_ci_node_4g_cells", {unique: ["ci", "node"]}); + + pgm.addConstraint({schema: "live_network", name: 'relations'}, "unq_relations", {unique: ["svr_ci", "nbr_ci"]}); + pgm.addConstraint({schema: "live_network", name: 'sites'}, "unq_sites", {unique: ["siteid"]}); + pgm.addConstraint({schema: "live_network", name: 'nodes'}, "unq_nodes", {unique: ["nodename"]}); + +}; + +exports.down = (pgm) => { + pgm.dropConstraint({schema: "live_network", name: 'relations'}, "unq_relations"); + pgm.dropConstraint({schema: "live_network", name: '2g_cells'}, "unq_ci_node_2g_cells"); + pgm.dropConstraint({schema: "live_network", name: '3g_cells'}, "unq_ci_node_3g_cells"); + pgm.dropConstraint({schema: "live_network", name: '4g_cells'}, "unq_ci_node_4g_cells"); + pgm.dropView({schema: "live_network", name: 'vw_cells'}); + pgm.dropTable({schema: "live_network", name: 'relations'}); + pgm.dropTable({schema: "live_network", name: '2g_cells'}); + pgm.dropTable({schema: "live_network", name: '3g_cells'}); + pgm.dropTable({schema: "live_network", name: '4g_cells'}); + pgm.dropConstraint({schema: "live_network", name: 'sites'}, "unq_sites"); + pgm.dropConstraint({schema: "live_network", name: 'nodes'}, "unq_nodes"); + pgm.dropSchema("live_network", {ifExists : true} ); +}; diff --git a/db/migrations/1564734450740_create-live-network-entity-extraction-procedures.js b/db/migrations/1564734450740_create-live-network-entity-extraction-procedures.js new file mode 100644 index 00000000..644b04af --- /dev/null +++ b/db/migrations/1564734450740_create-live-network-entity-extraction-procedures.js @@ -0,0 +1,9 @@ +exports.shorthands = undefined; + +exports.up = (pgm) => { + +}; + +exports.down = (pgm) => { + +}; diff --git a/db/migrations/1564734453190_create-live-network-entity-extraction-procedures.js b/db/migrations/1564734453190_create-live-network-entity-extraction-procedures.js new file mode 100644 index 00000000..88c468e2 --- /dev/null +++ b/db/migrations/1564734453190_create-live-network-entity-extraction-procedures.js @@ -0,0 +1,10 @@ +exports.shorthands = undefined; + +exports.up = (pgm) => { + + +}; + +exports.down = (pgm) => { + +}; diff --git a/db/migrations/1564795367024_create-ericsson-bsm-inv-table.js b/db/migrations/1564795367024_create-ericsson-bsm-inv-table.js new file mode 100644 index 00000000..fa54ec96 --- /dev/null +++ b/db/migrations/1564795367024_create-ericsson-bsm-inv-table.js @@ -0,0 +1,9 @@ +exports.shorthands = undefined; + +exports.up = (pgm) => { + pgm.createTable({schema: "ericsson_cm", name: "invBSM"}, {id: "id", load_datetime: "load_datetime", data: "data"}); +}; + +exports.down = (pgm) => { + pgm.dropTable({schema: "ericsson_cm", name: 'invBSM'}); +}; diff --git a/db/migrations/1564797033320_create-vendor-pm-schemas.js b/db/migrations/1564797033320_create-vendor-pm-schemas.js new file mode 100644 index 00000000..6ffa7097 --- /dev/null +++ b/db/migrations/1564797033320_create-vendor-pm-schemas.js @@ -0,0 +1,88 @@ +exports.shorthands = undefined; + +exports.up = (pgm) => { + + //Combined PM stats table + pgm.createSchema("pm", {ifNotExists : true} ); + + //Ericsson PM + pgm.createTable( + {schema: "pm", name: "eri_meas_collec_xml"}, + { + id: "id", + file_name: {type: "varchar(200)", notNull: true}, + file_format_version: {type: "varchar(100)"}, + vendor_name: {type: "varchar(100)"}, + file_header_dnprefix: {type: "varchar(100)"}, + file_sender_localdn: {type: "varchar(100)"}, + element_type: {type: "varchar(100)"}, + collection_begin_time: {type: "timestamp"}, + collection_end_time: {type: "timestamp"}, + managed_element_localdn: {type: "varchar(200)"}, + ne_software_version: {type: "varchar(100)"}, + meas_infoid: {type: "varchar(100)"}, + meas_timestamp: {type: "timestamp"}, + jobid: {type: "integer"}, + gran_period_duration: {type: "varchar(50)"}, + gran_period_endtime: {type: "timestamp", default: "NOW()"}, + reporting_period: {type: "varchar(50)"}, + managed_element_userlabel: {type: "varchar(100)"}, + meas_objldn: {type: "varchar(250)"}, + meas_type: {type: "varchar(100)"}, + meas_result: {type: "varchar(100)"}, + suspect: {type: "varchar(10)"}, + date_loaded: "createdAt" + }, + {ifNotExists : true} + ); + + //Huawei PM - Measurement Collection XML -- NE Based + pgm.createTable( + {schema: "pm", name: "hua_ne_based_meas_collec_xml"}, + { + id: "id", + file_name: {type: "varchar(200)", notNull: true}, + collection_begin_time: {type: "timestamp"}, + collection_end_time: {type: "timestamp"}, + file_format_version: {type: "varchar(100)"}, + vendor_name: {type: "varchar(100)"}, + element_type: {type: "varchar(100)"}, + managed_element: {type: "varchar(200)"}, + meas_infoid: {type: "varchar(100)"}, + gran_period_duration: {type: "varchar(50)"}, + gran_period_endtime: {type: "timestamp"}, + rep_period_duration: {type: "varchar(50)"}, + meas_objldn: {type: "varchar(250)"}, + counter_id: {type: "integer"}, + counter_value: {type: "varchar(200)"}, + suspect: {type: "varchar(10)"}, + date_loaded: "createdAt" + } + ); + + //Nokia PM XML + pgm.createTable( + {schema: "pm", name: "nok_pm_xml"}, + { + id: "id", + filename: {type: "varchar(200)", notNull: true}, + start_time: {type: "timestamp"}, + interval: {type: "integer"}, + base_id: {type: "varchar(200)"}, + local_moid: {type: "varchar(200)"}, + ne_type: {type: "varchar(100)"}, + measurement_type: {type: "varchar(100)"}, + counter_id: {type: "varchar(100)"}, + counter_value: {type: "varchar(200)"}, + date_loaded: "createdAt" + } + ); +}; + +exports.down = (pgm) => { + pgm.dropTable({schema: "pm", name: 'nok_pm_xml'}, {ifExists : true}); + pgm.dropTable({schema: "pm", name: 'eri_meas_collec_xml'}, {ifExists : true}); + pgm.dropTable({schema: "pm", name: 'hua_ne_based_meas_collec_xml'}, {ifExists : true}); + + pgm.dropSchema("pm", {ifExists : true} ); +}; diff --git a/db/migrations/1565415091123_create-motorola-cm-schema.js b/db/migrations/1565415091123_create-motorola-cm-schema.js new file mode 100644 index 00000000..e2c69633 --- /dev/null +++ b/db/migrations/1565415091123_create-motorola-cm-schema.js @@ -0,0 +1,13 @@ +exports.shorthands = undefined; + +exports.up = (pgm) => { + pgm.createSchema("motorola_cm", {ifNotExists : true} ); + + pgm.createTable({schema: "motorola_cm", name: "cell_x_export"}, {id: "id", load_datetime: "load_datetime", data: "data"}); +}; + +exports.down = (pgm) => { + pgm.dropTable({schema: "motorola_cm", name: "cell_x_export"}); + + pgm.dropSchema("motorola_cm", {ifExists : true} ); +}; diff --git a/gis.jpeg b/gis.jpeg new file mode 100644 index 00000000..25ee8df0 Binary files /dev/null and b/gis.jpeg differ diff --git a/libraries/boda-ericssonbsmparser.jar b/libraries/boda-ericssonbsmparser.jar new file mode 100644 index 00000000..3664c4f3 Binary files /dev/null and b/libraries/boda-ericssonbsmparser.jar differ diff --git a/libraries/boda-ericssoncnaiparser.jar b/libraries/boda-ericssoncnaiparser.jar index 3cdf45f0..2a69ecf7 100644 Binary files a/libraries/boda-ericssoncnaiparser.jar and b/libraries/boda-ericssoncnaiparser.jar differ diff --git a/libraries/boda-huaweimmlparser.jar b/libraries/boda-huaweimmlparser.jar index acb1671b..cc7cce2a 100644 Binary files a/libraries/boda-huaweimmlparser.jar and b/libraries/boda-huaweimmlparser.jar differ diff --git a/libraries/boda-huaweipmdataparser.jar b/libraries/boda-huaweipmdataparser.jar new file mode 100644 index 00000000..9310a5c4 Binary files /dev/null and b/libraries/boda-huaweipmdataparser.jar differ diff --git a/libraries/boda-measdatacollectionparser.jar b/libraries/boda-measdatacollectionparser.jar new file mode 100644 index 00000000..defebdd3 Binary files /dev/null and b/libraries/boda-measdatacollectionparser.jar differ diff --git a/libraries/boda-motorolacellxexportparser.jar b/libraries/boda-motorolacellxexportparser.jar new file mode 100644 index 00000000..52994970 Binary files /dev/null and b/libraries/boda-motorolacellxexportparser.jar differ diff --git a/libraries/boda-nokiapmdataparser.jar b/libraries/boda-nokiapmdataparser.jar new file mode 100644 index 00000000..66e0bf7e Binary files /dev/null and b/libraries/boda-nokiapmdataparser.jar differ diff --git a/libraries/boda_ztexlscmparser.jar b/libraries/boda-ztexlscmparser.jar similarity index 95% rename from libraries/boda_ztexlscmparser.jar rename to libraries/boda-ztexlscmparser.jar index 0fab1869..92820019 100644 Binary files a/libraries/boda_ztexlscmparser.jar and b/libraries/boda-ztexlscmparser.jar differ diff --git a/ormconfig.json b/ormconfig.json deleted file mode 100644 index 6e5d922a..00000000 --- a/ormconfig.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "type": "sqlite", - "synchronize": true, - "logging": true, - "logger": "simple-console", - "database": "boda-lite.sqlite3", - "entities": [ - "src/entities/*.js" - ] -} \ No newline at end of file diff --git a/package.json b/package.json index dd219c9a..99de7563 100644 --- a/package.json +++ b/package.json @@ -1,10 +1,11 @@ { "name": "Boda-Lite", - "version": "0.2.3", + "version": "0.3.0", "description": "Boda-Lite is a telecommunication network management application", "private": true, "homepage": "./", "scripts": { + "migrate": "./node_modules/.bin/node-pg-migrate", "electron": "electron .", "electron-dev-unix": "ELECTRON_START_URL=http://localhost:3000 electron .", "electron-dev": "set ELECTRON_START_URL=http://localhost:3000 && electron .", @@ -87,9 +88,13 @@ "i": "^0.3.6", "immutable": "^3.8.2", "leaflet": "^1.3.3", + "leaflet-contextmenu": "^1.4.0", + "leaflet-fullscreen": "^1.0.2", "leaflet-semicircle": "^2.0.2", + "leaflet.icon.glyph": "^0.2.1", "mini-css-extract-plugin": "0.5.0", "mongodb-extjson": "^3.0.3", + "node-pg-migrate": "^3.21.1", "node-stream-zip": "^1.8.0", "node-unrar-js": "^0.8.1", "optimize-css-assets-webpack-plugin": "5.0.1", @@ -109,7 +114,12 @@ "react-dom-factories": "^1.0.2", "react-fontawesome": "^1.6.1", "react-grid-layout": "^0.16.6", + "react-icons": "^3.7.0", "react-leaflet": "^2.0.0", + "react-leaflet-control": "^2.1.1", + "react-leaflet-fullscreen-control": "^0.0.4", + "react-leaflet-semicircle": "^2.0.5", + "react-leaflet-sidetabs": "^1.0.1", "react-mosaic-component": "^2.1.0", "react-plotly.js": "^2.2.0", "react-redux": "^5.0.7", @@ -128,7 +138,6 @@ "shell-path": "^2.1.0", "sqlite3": "^4.0.9", "terser-webpack-plugin": "1.2.2", - "typeorm": "^0.2.18", "unzipper": "^0.10.0", "url-loader": "1.1.2", "url-search-params-polyfill": "^4.0.1", @@ -231,7 +240,7 @@ "main": "./src/electron-start.js" }, "dmg": { - "icon": "build/icon.icns", + "icon": "build/icon.icns", "contents": [ { "x": 110, @@ -246,29 +255,29 @@ ] }, "linux": { - "category": "Science", - "packageCategory": "Science", + "category": "Science", + "packageCategory": "Science", "target": [ "AppImage", "deb", - "zip", - "snap", - "rpm" + "zip", + "snap", + "rpm" ], - "icon": "./build/icon.icns", - "synopsis": "Boda-Lite Desktop App", - "description": "Boda-Lite is a telecommunication network management desktop client." + "icon": "./build/icon.icns", + "synopsis": "Boda-Lite Desktop App", + "description": "Boda-Lite is a telecommunication network management desktop client." }, - "deb": { + "deb": { "synopsis": "Boda-Lite Desktop App", "afterInstall": "build/debian-after-install.sh" }, "win": { - "target": [ - "nsis", - "portable", - "zip" - ], + "target": [ + "nsis", + "portable", + "zip" + ], "icon": "build/icon.ico" }, "directories": { diff --git a/src/app-reducer.js b/src/app-reducer.js index e63718a3..cb62249f 100644 --- a/src/app-reducer.js +++ b/src/app-reducer.js @@ -6,6 +6,7 @@ import cm from './modules/cm/cm-reducers'; import profile from './modules/profile/profile-reducers'; import settings from './modules/settings/settings-reducer'; import reports from './modules/reports/reports-reducer'; +import gis from './modules/gis/gis-reducer'; const appReducer = combineReducers({ session, @@ -14,7 +15,8 @@ const appReducer = combineReducers({ cm, profile, settings, - reports + reports, + gis }); export default appReducer; \ No newline at end of file diff --git a/src/entities/User.entity.ts b/src/entities/User.entity.ts deleted file mode 100644 index bafd0b26..00000000 --- a/src/entities/User.entity.ts +++ /dev/null @@ -1,19 +0,0 @@ -import {Entity, Column, PrimaryGeneratedColumn} from "typeorm"; - -@Entity() -export class User { - - @PrimaryGeneratedColumn() - id: number; - - @Column() - firstName: string; - - @Column() - name: string; - @Column() - email: string; - - @Column() - password: string; -} \ No newline at end of file diff --git a/src/index.js b/src/index.js index 9344f0cf..aeb4d04f 100644 --- a/src/index.js +++ b/src/index.js @@ -26,7 +26,8 @@ import { faLock, faAt, faSpinner, faHome, faPlug, faCog, faDownload, faChartArea, faBrain, faGem, faUserMd, faGlobeAfrica, faPeopleCarry, faFolder, faFile, faStar, faChevronRight, faDotCircle, faFolderOpen, faLink, faClock, faRss, faChartLine, faSquare, faTable, faInfoCircle - ,faAsterisk, faFileAlt,faFrown,faDatabase, faFileExcel, faFileCsv + ,faAsterisk, faFileAlt,faFrown,faDatabase, faFileExcel, faFileCsv, + faBroadcastTower } from '@fortawesome/free-solid-svg-icons' library.add(faLock, faAt, faSpinner, faHome, faPlug, faCog, faDownload, @@ -35,7 +36,8 @@ faStopCircle, faUniversity, faCogs, faPowerOff, faArrowRight, faList, faChartArea, faBrain, faGem, faUserMd, faGlobeAfrica, faPeopleCarry, faFolder, faFile, faStar, faChevronRight, faDotCircle, faFolderOpen, faLink, faClock, faRss, faChartLine, faSquare, faTable, faInfoCircle, -faAsterisk, faFileAlt,faFrown, faDatabase, faFileExcel, faFileCsv); +faAsterisk, faFileAlt,faFrown, faDatabase, faFileExcel, faFileCsv, +faBroadcastTower); const store = configureStore(); diff --git a/src/modules/cm/ProcessCMDumps.jsx b/src/modules/cm/ParseAndImport.jsx similarity index 76% rename from src/modules/cm/ProcessCMDumps.jsx rename to src/modules/cm/ParseAndImport.jsx index a2ee8cee..32c3a679 100644 --- a/src/modules/cm/ProcessCMDumps.jsx +++ b/src/modules/cm/ParseAndImport.jsx @@ -3,7 +3,7 @@ import { connect } from 'react-redux'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import { Intent, Button, FileInput, HTMLSelect, ProgressBar, Classes, Switch } from "@blueprintjs/core"; -import { VENDOR_CM_FORMSTS } from './VendorCM.js' +import { VENDOR_CM_FORMATS, VENDOR_PM_FORMATS, VENDOR_FM_FORMATS } from './VendorFormats.js' import Timer from './Timer'; import { saveCMParsingFolders } from './cm-actions'; @@ -17,10 +17,10 @@ const log = window.require('electron-log'); /** -* Process CM data dumps +* Parse and import * */ -class ProcessCMDumps extends React.Component { +class ParseAndImport extends React.Component { static icon = "asterisk"; static label = "Process CM Dumps" @@ -31,8 +31,10 @@ class ProcessCMDumps extends React.Component { this.state = { inputFileText: this.props.inputFolder === null ? "Choose folder..." : this.props.inputFolder, outputFolderText: this.props.outputFolder === null ? "Choose folder..." : this.props.outputFolder, - vendors: ['ERICSSON', 'HUAWEI', 'ZTE', 'NOKIA'], + vendors: ['ERICSSON', 'HUAWEI', 'ZTE', 'NOKIA', 'MOTOROLA', 'BODASTAGE'], + dataTypes: ['CM','PM', 'FM'], currentVendor: 'ERICSSON', + currentDataType: 'CM', currentFormat: 'BULKCM', processing: false, errorMessage: null, @@ -46,7 +48,7 @@ class ProcessCMDumps extends React.Component { clearTables: false } - this.vendorFormats = VENDOR_CM_FORMSTS + this.vendorFormats = VENDOR_CM_FORMATS this.processDumps = this.processDumps.bind(this) this.dismissErrorMessage = this.dismissErrorMessage.bind(this) @@ -56,6 +58,7 @@ class ProcessCMDumps extends React.Component { this.handlClearTablesChange = this.handlClearTablesChange.bind(this); this.clearForm = this.clearForm.bind(this) this.launchFolderExplorer = this.launchFolderExplorer.bind(this) + this.onDataTypeSelectChange = this.onDataTypeSelectChange.bind(this) this.currentTimerValue = "00:00:00"; @@ -90,9 +93,65 @@ class ProcessCMDumps extends React.Component { * Update the vendor in state when the vendor is selected */ onVendorSelectChange =(e) => { + + let currentFormat = null; + if ( this.state.currentDataType === 'CM') { + if (Object.keys(VENDOR_CM_FORMATS).length > 0) currentFormat = VENDOR_CM_FORMATS[e.target.value][0]; + else currentFormat = ""; + + this.vendorFormats = VENDOR_CM_FORMATS; + } + + if ( this.state.currentDataType === 'PM') { + if (Object.keys(VENDOR_PM_FORMATS).length > 0) currentFormat = VENDOR_PM_FORMATS[e.target.value][0]; + else currentFormat = ""; + + this.vendorFormats = VENDOR_PM_FORMATS; + } + + if ( this.state.currentDataType === 'FM'){ + if (Object.keys(VENDOR_FM_FORMATS).length > 0) currentFormat = currentFormat = VENDOR_FM_FORMATS[e.target.value][0]; + else currentFormat = ""; + + this.vendorFormats = VENDOR_FM_FORMATS; + } + this.setState( { currentVendor: e.target.value, - currentFormat: VENDOR_CM_FORMSTS[e.target.value][0]} + currentFormat: currentFormat + }) + } + + /** + * Update the data type in state when the domain select field is selected + */ + onDataTypeSelectChange =(e) => { + + const currentDataType = e.target.value; + let currentFormat = null; + if ( currentDataType === 'CM') { + if (Object.keys(VENDOR_CM_FORMATS).length > 0) currentFormat = VENDOR_CM_FORMATS[this.state.currentVendor][0]; + else currentFormat = ""; + + this.vendorFormats = VENDOR_CM_FORMATS; + } + + if ( currentDataType === 'PM') { + if (Object.keys(VENDOR_PM_FORMATS).length > 0) currentFormat = VENDOR_PM_FORMATS[this.state.currentVendor][0]; + else currentFormat = ""; + + this.vendorFormats = VENDOR_PM_FORMATS; + } + if ( currentDataType === 'FM'){ + if (Object.keys(VENDOR_FM_FORMATS).length > 0) currentFormat = currentFormat = VENDOR_FM_FORMATS[this.state.currentVendor][0]; + else currentFormat = ""; + + this.vendorFormats = VENDOR_FM_FORMATS; + } + + this.setState( + { currentDataType: currentDataType, + currentFormat: currentFormat} ) } @@ -149,13 +208,14 @@ class ProcessCMDumps extends React.Component { this.setState({processing: true, errorMessage: null, successMessage: null}) const payload = { + "dataType": this.state.currentDataType, "vendor": this.state.currentVendor, "format": this.state.currentFormat, "inputFolder": this.state.inputFileText, "outputFolder": this.state.outputFolderText } - ipcRenderer.send('parse-cm-request', 'parse_cm_data', JSON.stringify(payload)); + ipcRenderer.send('parse-cm-request', 'parse_data', JSON.stringify(payload)); log.info(`[process_cm_dumps] Sending IPC message on channel parsr-cm-request to main process with payload: ${payload}`) //Wait for response @@ -165,25 +225,26 @@ class ProcessCMDumps extends React.Component { const obj = JSON.parse(args) - if(obj.status === 'success' && task === 'parse_cm_data' && !this.state.loadIntoDB){ + if(obj.status === 'success' && task === 'parse_data' && !this.state.loadIntoDB){ this.setState({errorMessage: null, successMessage: obj.message, infoMessage:null, processing: false}) ipcRenderer.removeListener("parse-cm-request", this.processFilesListener); this.processFilesListener = null; } - if(obj.status === 'success' && task === 'parse_cm_data' && this.state.loadIntoDB){ + if(obj.status === 'success' && task === 'parse_data' && this.state.loadIntoDB){ this.setState({errorMessage: null, successMessage: null, infoMessage:obj.message, processing: true}); const loadPayload = { + "dataType": this.state.currentDataType, "vendor": this.state.currentVendor, "format": this.state.currentFormat, "csvFolder": this.state.outputFolderText, "truncateTables": this.state.clearTables } - ipcRenderer.send('parse-cm-request', 'load_cm_data', JSON.stringify(loadPayload)) + ipcRenderer.send('parse-cm-request', 'load_data', JSON.stringify(loadPayload)) } - if(obj.status === 'success' && task === 'load_cm_data' && this.state.loadIntoDB){ + if(obj.status === 'success' && task === 'load_data' && this.state.loadIntoDB){ this.setState({errorMessage: null, successMessage: obj.message, infoMessage:null, processing: false}); ipcRenderer.removeListener("parse-cm-request", this.processFilesListener); this.processFilesListener = null; @@ -191,13 +252,13 @@ class ProcessCMDumps extends React.Component { - if(obj.status === 'error' && (task === 'load_cm_data' || task === 'parse_cm_data') ){ + if(obj.status === 'error' && (task === 'load_data' || task === 'parse_data') ){ this.setState({errorMessage: obj.message.toString(), successMessage: null , infoMessage:null, processing: false}); ipcRenderer.removeListener("parse-cm-request", this.processFilesListener); this.processFilesListener = null; } - if(obj.status === 'info' && (task === 'load_cm_data' || task === 'parse_cm_data') ){ + if(obj.status === 'info' && (task === 'load_data' || task === 'parse_data') ){ this.setState({errorMessage: null, successMessage: null, infoMessage: obj.message}) } @@ -227,13 +288,11 @@ class ProcessCMDumps extends React.Component { } - updateTimerValue = (hours, minutes, seconds) => { let timerValue = `${hours.toString().padStart(2, '0')}:${minutes.toString().padStart(2, '0')}:${seconds.toString().padStart(2, '0')}`; - console.log(`timerValue: ${timerValue}`) + //this.props.dispatch(updateProcessCMTimer(timerValue)); this.currentTimerValue = timerValue; - console.log(`Processing: ${this.state.processing}`); } clearForm = () => { @@ -287,7 +346,7 @@ class ProcessCMDumps extends React.Component { return (
- Process CM Dumps + Parse and Import
@@ -301,17 +360,20 @@ class ProcessCMDumps extends React.Component {
- +
- +
+
- +
- + +
+
@@ -372,4 +434,4 @@ function mapStateToProps(state) { } } -export default connect(mapStateToProps)(ProcessCMDumps); \ No newline at end of file +export default connect(mapStateToProps)(ParseAndImport); \ No newline at end of file diff --git a/src/modules/cm/VendorCM.js b/src/modules/cm/VendorCM.js deleted file mode 100644 index 93135aa8..00000000 --- a/src/modules/cm/VendorCM.js +++ /dev/null @@ -1,26 +0,0 @@ -export const VENDOR_CM_FORMSTS = { - 'ERICSSON': ['BULKCM','CNAIV2'], - 'HUAWEI': ['GEXPORT_XML','NBI_XML','CFGMML'], - 'ZTE': ['BULKCM','XLS'], - 'NOKIA': ['RAML'] -} - -/*Parser for each vendor CM file format*/ -export const VENDOR_PARSERS = { - 'ERICSSON': { - 'BULKCM': 'boda-bulkcmparser.jar', - 'CNAIV2': 'boda-ericssoncnaiparser.jar', - }, - 'HUAWEI': { - 'GEXPORT_XML': 'boda-huaweicmobjectparser.jar', - 'CFGMML': 'boda-huaweimmlparser.jar', - 'NBI_XML': 'boda-huaweicmxmlparser.jar' - }, - 'ZTE': { - 'BULKCM': 'boda-bulkcmparser.jar', - 'XLS': 'boda_ztexlscmparser.jar', - }, - 'NOKIA': { - 'RAML': 'boda-nokiacmdataparser.jar' - } -} \ No newline at end of file diff --git a/src/modules/cm/VendorFormats.js b/src/modules/cm/VendorFormats.js new file mode 100644 index 00000000..2c40de5f --- /dev/null +++ b/src/modules/cm/VendorFormats.js @@ -0,0 +1,26 @@ +export const VENDOR_CM_FORMATS = { + 'ERICSSON': ['BULKCM','CNAIV2','BSM'], + 'HUAWEI': ['GEXPORT_XML','NBI_XML','CFGMML'], + 'ZTE': ['BULKCM','XLS'], + 'NOKIA': ['RAML'], + 'MOTOROLA': ['CELL_X_EXPORT'], + 'BODASTAGE': ['BCF_CSV'] +} + +export const VENDOR_PM_FORMATS = { + 'ERICSSON': ['MEAS_COLLEC_XML'], + 'HUAWEI': ['NE_BASED_MEAS_COLLEC_XML', 'MRF'], + 'ZTE': ['MEAS_COLLEC_XML','EXCEL'], + 'NOKIA': ['PM_XML'], + 'MOTOROLA': [], + 'BODASTAGE': [] +} + +export const VENDOR_FM_FORMATS = { + 'ERICSSON': [], + 'HUAWEI': [], + 'ZTE': [], + 'NOKIA': [], + 'MOTOROLA': [], + 'BODASTAGE': [] +} diff --git a/src/modules/dashboard/Dashboard.jsx b/src/modules/dashboard/Dashboard.jsx index 0486d25a..2500f2ab 100644 --- a/src/modules/dashboard/Dashboard.jsx +++ b/src/modules/dashboard/Dashboard.jsx @@ -51,6 +51,17 @@ class Dashboard extends React.Component { shell.openItem(logPath) } + showGISModule= (options) => (e) => { + e.preventDefault(); + //show main map + let tabId = options.component; + this.props.dispatch(addTab(tabId, options.component, {title: options.title})); + + //@TODO: Disable GIS side panel for now as we figure out what to add + //Show side panel + //this.props.dispatch(setSidePanel('GISLeftPanel')); + } + render(){ return ( @@ -62,10 +73,10 @@ class Dashboard extends React.Component {
-
Process CM dumps
+
Parse and Import
@@ -77,7 +88,7 @@ class Dashboard extends React.Component {
diff --git a/src/modules/dashboard/DashboardSidepanel.jsx b/src/modules/dashboard/DashboardSidepanel.jsx index b7faae3d..5bc54ccc 100644 --- a/src/modules/dashboard/DashboardSidepanel.jsx +++ b/src/modules/dashboard/DashboardSidepanel.jsx @@ -53,13 +53,17 @@ class DashboardSidePanel extends React.Component {
Radio Access Network Process CM dumps + component: 'ParseAndImport', + title: 'Parse and Import' + })}> Parse and Import Reports - - + + GIS + System + + GIS + + e.preventDefault()}>  + +
+ + ); + } +} + +function mapStateToProps(state){ + return {}; +} + +export default connect(mapStateToProps)(GISLeftPanel); \ No newline at end of file diff --git a/src/modules/gis/GISMap.js b/src/modules/gis/GISMap.js index e75b4629..ebc99469 100644 --- a/src/modules/gis/GISMap.js +++ b/src/modules/gis/GISMap.js @@ -1,14 +1,26 @@ import React from 'react' -import { Map, TileLayer, Marker, Popup } from 'react-leaflet'; -import L from 'leaflet'; import { connect } from 'react-redux'; +import { Map, TileLayer, Popup, Polyline, Marker, Tooltip } from 'react-leaflet'; +import L from 'leaflet'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import 'leaflet/dist/leaflet.css'; import './gis.css'; -import { ResizeSensor, Popover, Button, Intent, PopoverInteractionKind } from "@blueprintjs/core"; +import { ResizeSensor, Popover, Button, Intent, PopoverInteractionKind, Icon, + FormGroup, InputGroup, Checkbox } from "@blueprintjs/core"; +import { gisGetCells, gisGetNbrs, gisHideCellNbrs, gisHideRelation, gisClear } from './gis-actions'; +import { SemiCircle, SemiCircleMarker } from 'react-leaflet-semicircle'; +import 'react-leaflet-fullscreen-control' +import { FaRss } from "react-icons/fa"; +import Control from 'react-leaflet-control'; +import { Sidebar, Tab } from 'react-leaflet-sidetabs'; +import { FiHome, FiChevronRight, FiSearch, FiSettings, FiRadio, FiArrowRight, FiShare2 } from "react-icons/fi"; +import 'leaflet-contextmenu' +import 'leaflet-contextmenu/dist/leaflet.contextmenu.css' +import 'leaflet.icon.glyph' +import { renderToString } from 'react-dom/server' +//Fix icons delete L.Icon.Default.prototype._getIconUrl; - L.Icon.Default.mergeOptions({ iconRetinaUrl: require('leaflet/dist/images/marker-icon-2x.png'), iconUrl: require('leaflet/dist/images/marker-icon.png'), @@ -24,18 +36,98 @@ class GISMap extends React.Component{ lat: 51.505, lng: -0.09, zoom: 13, - height: window.innerHeight-150 + height: window.innerHeight-150, + sideBarCollapsed: true, + selectedTab: 'home', + + filterText: "", + + //Technology filter + showGSMCells: true, + showUMTSCells: true, + showLTECells: true } this.handleResize = this.handleResize.bind(this); this.click = this.click.bind(this); + this.refreshMap = this.refreshMap.bind(this); + this.showHideNbrsForCell = this.showHideNbrsForCell.bind(this); + this.showHideRelation = this.showHideRelation.bind(this); + this.handleFilterTextChangeEvent = this.handleFilterTextChangeEvent.bind(this) + this.handleEnabledChange = this.handleEnabledChange.bind(this) + this.handleTechFilterCheckBox = this.handleTechFilterCheckBox.bind(this) } + onSideBarClose() { + this.setState({sideBarCollapsed: true}); + } + + onSideBarOpen(id) { + this.setState({ + sideBarCollapsed: false, + selectedTab: id, + }) + } + + handleTechFilterCheckBox = (event) => { + const name = event.target.name; + + //Toggle value + this.setState({ + [name]: !this.state[name] + }); + + } + + handleEnabledChange = (event) => { + const target = event.target; + const value = target.type === 'checkbox' ? target.checked : target.value; + const name = target.name; + + console.log("handleEnabledChange:", value, name); + + this.setState({ + [name]: value + }); + } + + + /* + * + * + */ + handleFilterTextChangeEvent = (event) => { + const target = event.target; + const value = target.type === 'checkbox' ? target.checked : target.value; + const name = target.name; + + this.setState({ + [name]: value + }); + } + + showHideRelation(svrCI, nbrCI){ + this.props.dispatch(gisHideRelation(svrCI, nbrCI)); + } + + showHideNbrsForCell(cellId){ + if(typeof this.props.relations[cellId] === 'undefined'){ + this.props.dispatch(gisGetNbrs(cellId)); + }else{ + this.props.dispatch(gisHideCellNbrs(cellId)); + } + + } + click(e){ console.log(e) } + componentWillUnmount(){ + this.props.dispatch(gisClear()); + } componentDidMount () { + this.map = this.refs.map.leafletElement; const map = this.refs.map.leafletElement; //By the time the GIS tab is shown, the GIS component has already @@ -45,13 +137,47 @@ class GISMap extends React.Component{ setTimeout(function(){ map.invalidateSize(); },1000); - + + + this.props.dispatch(gisGetCells()); + + //Add context menu + + this.map = null; } componentDidUpdate(){ const map = this.refs.map.leafletElement; + map.invalidateSize(); + + //Disable disable dragging and zooming when working with the side panel + var div = L.DomUtil.get('gis_sidebar'); + L.DomEvent.on(div, 'mouseover', function(){ + map.dragging.disable(); + map.touchZoom.disable(); + map.doubleClickZoom.disable(); + map.scrollWheelZoom.disable(); + }); + + L.DomEvent.on(div, 'mouseout', function(){ + map.dragging.enable(); + map.touchZoom.enable(); + map.doubleClickZoom.enable(); + map.scrollWheelZoom.enable(); + }); + + //map.ContextMenu .removeAllItems(); } + + centerMap(e){ + const map = this.refs.map.leafletElement; + map.panTo(e.latlng); + } + + refreshMap(){ + this.props.dispatch(gisGetCells()); + } handleResize(resizeEntries){ @@ -65,23 +191,242 @@ class GISMap extends React.Component{ render(){ const position = [this.state.lat, this.state.lng] const height = this.state.height; + let center = [this.state.lat, this.state.lng] + + //Get the first cell + if(Object.keys(this.props.cells).length > 0 ){ + const someCI = Object.keys(this.props.cells)[0] + center = [this.props.cells[someCI].latitude, this.props.cells[someCI].longitude]; + } + + var that = this; + const cellMarkers = Object.keys(this.props.cells) + //Filter based on search text + .filter((cellid, i) => { + const cell = this.props.cells[cellid]; + + //Technology + let techMatch = false; + const cellTech = cell.technology.toLowerCase(); + if(that.state.showGSMCells === true && cellTech === 'gsm') techMatch = techMatch || true; + if(that.state.showUMTSCells === true && cellTech === 'umts') techMatch = techMatch || true;; + if(that.state.showLTECells === true && cellTech === 'lte') techMatch = techMatch || true;; + if(techMatch === false) return false; + + //When no search text, show all + if(that.state.filterText.length === 0 ) return true; + + try{ + const re = new RegExp(that.state.filterText, 'i') + + if(cellid.match(re) || cell.cellname.match(re)) return true; + }catch(e){ + //@TODO: + } + + return false; + }) + .map((cellid, i) => { + const cell = this.props.cells[cellid]; + const beamWidth = parseInt(cell.antenna_beam) > 0 && parseInt(cell.antenna_beam) !== NaN ? cell.antenna_beam : 30; + return ( + + this.showHideNbrsForCell(cell.ci), + index: 0 + }, { + text: 'KPIs', + callback: () => {}, + index: 1 + },{ + separator: true, + index: 2 + }]} + > + + {cell.cellname} +
+
+ + + + + + + + + { + Object.keys(cell) + .map((p, ip) => ( + + + + + )) + } + +
ParameterValue
{p}{cell[p]}
+
+
+
+ {`${cell.cellname}(${cell.ci})`} +
+ ) })}> + +
+ )}); + + + let relations = [] + Object.keys(this.props.relations).forEach((svrCI, i) => { + relations = relations.concat(this.props.relations[svrCI]) + }); + + const relationLines = relations + //Hide some relations + .filter(rln => this.props.hiddenRelations[rln.svr_ci + "-" + rln.nbr_ci] === undefined) + .map((rln, i) => { + return ( + + this.showHideRelation(rln.svr_ci, rln.nbr_ci), + index: 0 + },{ + separator: true, + index: 1 + }]} + > + {this.props.cells[rln.svr_ci].cellname + " > " + this.props.cells[rln.nbr_ci].cellname} + + Relation parameters + + + + + + ); + }); + + const displayCellCount = cellMarkers.length; + + console.log("this.state.showGSMCells", this.state.showGSMCells); + return (
GIS
+
+ + + - - - - A pretty CSS3 popup.
Easily customizable.
-
-
+ + + + + {cellMarkers} + + {relationLines} + + +
+ +
+
+ + } + selected={this.state.selectedTab} + onOpen={this.onSideBarOpen.bind(this)} + onClose={this.onSideBarClose.bind(this)} + > + }> +
+ + + +
{this.state.filterText.length > 0 ? `Found ${displayCellCount} cells.` : "" }
+ +
+
+ Technology +
+ + + +
+ +
+
+ Environment +
+ + +
+ +
+
+ }> +
+ +
+
+
+ +
@@ -91,4 +436,13 @@ class GISMap extends React.Component{ } } -export default connect()(GISMap); \ No newline at end of file +function mapStateToProps(state){ + return { + cells: state.gis.cells || {}, + relations: state.gis.relations || {}, + redraw: state.gis.redraw, + hiddenRelations: state.gis.hiddenRelations || {} + }; +} + +export default connect(mapStateToProps)(GISMap); \ No newline at end of file diff --git a/src/modules/gis/gis-actions.js b/src/modules/gis/gis-actions.js new file mode 100644 index 00000000..b63f24ea --- /dev/null +++ b/src/modules/gis/gis-actions.js @@ -0,0 +1,165 @@ +import { runQuery } from '../reports/DBQueryHelper.js'; +const log = window.require('electron-log'); + +//Start fetching cells +export const GIS_FETCH_CELLS = 'GIS_FETCH_CELLS'; + +//Start fetching nbrs for a cell +export const GIS_FETCH_NBRS = 'GIS_FETCH_NBRS'; + +//Confirm that the cells have been received and add them to the state +export const GIS_CONFIRM_CELLS_RECEIVED = 'GIS_CONFIRM_CELLS_RECEIVED'; + +//Confirm that the nbrs have been received and add them to the state +export const GIS_CONFIRM_NBRS_RECEIVED = 'GIS_CONFIRM_NBRS_RECEIVED'; + +//Hide nbrs for a cell +export const GIS_HIDE_CELL_NBRS = 'GIS_HIDE_CELL_NBRS'; + +export const GIS_HIDE_RELATION = 'GIS_HIDE_RELATION'; +export const GIS_SHOW_RELATION = 'GIS_SHOW_RELATION'; + +export const GIS_CLEAR = 'GIS_CLEAR'; + +//Convert array to object +const arrayToObject = (array, id) => + array.reduce((obj, item) => { + obj[item[id]] = item + return obj + }, {}) + +/* +* Show error on the left panel +*/ +export const GIS_SHOW_ERROR = 'GIS_SHOW_ERROR'; +export const GIS_SHOW_SUCCESS = 'GIS_SHOW_SUCCESS'; +export const GIS_SHOW_INFO = 'GIS_SHOW_INFO'; + +export function gisFetchCells(){ + return { + type: GIS_FETCH_CELLS + }; +} + +/* +* Get the neighbour list for the give cell id +* +* @param integer ci Cell Identity +*/ +export function gisFetchNbrs(ci){ + return { + type: GIS_FETCH_NBRS, + ci: ci + }; +} + + +/* +* +* @param array cells list of cells +*/ +export function gisConfirmCellsReceived(cells){ + return { + type: GIS_CONFIRM_CELLS_RECEIVED, + cells: cells + }; +} + + +/* +* +* @param array cells list of nbr cell ids +*/ +export function gisConfirmNbrsReceived(svrCI, nbrs){ + return { + type: GIS_CONFIRM_NBRS_RECEIVED, + ci: svrCI, + nbrs: nbrs + }; +} + + +export function gisShowError(errorMsg){ + return { + type: GIS_SHOW_ERROR, + message: errorMsg + } +} + +export function gisShowSuccess(successMsg){ + return { + type: GIS_SHOW_SUCCESS, + message: successMsg + } +} + +export function gisShowInfo(infoMsg){ + return { + type: GIS_SHOW_INFO, + message: infoMsg + } +} + + +export function gisGetCells(){ + return async (dispatch, getState) => { + dispatch(gisFetchCells()); + + const results = await runQuery('SELECT * FROM plan_network.vw_cells'); + if(typeof results.error !== 'undefined'){ + log.error(results.error); + return dispatch(gisShowError("Failed to retreive cells")); + } + + dispatch(gisConfirmCellsReceived(arrayToObject(results.rows, 'ci'))); + dispatch(gisShowSuccess("Cells successfull retrieved")); + } +} + +/* +* Get nbrs for a given cell +* +* @param integer svrCI Neighbour CI +* +*/ +export function gisGetNbrs(svrCI){ + return async (dispatch, getState) => { + dispatch(gisFetchNbrs(svrCI)); + + const results = await runQuery(`SELECT svr_ci, nbr_ci FROM plan_network.relations r WHERE svr_ci = ${svrCI}`); + if(typeof results.error !== 'undefined'){ + log.error(results.error); + return dispatch(gisShowError("Failed to retreive neighbours")); + } + + dispatch(gisConfirmNbrsReceived(svrCI, results.rows)); + dispatch(gisShowSuccess("Neighbours successfull retrieved")); + } +} + +/* +* Hide nbrs for a cell +* +* @param integer svrCI Cell ID +*/ +export function gisHideCellNbrs(svrCI){ + return { + type: GIS_HIDE_CELL_NBRS, + ci: svrCI + } +} + + +export function gisHideRelation(svrCI, nbrCI){ + return { + type: GIS_HIDE_RELATION, + svr_ci: svrCI, + nbr_ci: nbrCI + } +} + +export function gisClear(){ + return { + type: GIS_CLEAR + } +} \ No newline at end of file diff --git a/src/modules/gis/gis-helper.js b/src/modules/gis/gis-helper.js new file mode 100644 index 00000000..e69de29b diff --git a/src/modules/gis/gis-reducer.js b/src/modules/gis/gis-reducer.js new file mode 100644 index 00000000..4c62f960 --- /dev/null +++ b/src/modules/gis/gis-reducer.js @@ -0,0 +1,70 @@ +import { GIS_CONFIRM_CELLS_RECEIVED, GIS_CONFIRM_NBRS_RECEIVED, + //Notifications + GIS_SHOW_ERROR, + GIS_SHOW_SUCCESS, + GIS_SHOW_INFO, + GIS_HIDE_CELL_NBRS, + GIS_HIDE_RELATION, + GIS_CLEAR} from './gis-actions'; + +const initialState = { + cells: [], + relations: {}, + redraw : 0, + + //List of relations to hide + hiddenRelations: {}, + carrierLayer: {} +}; + +function gis(state = initialState, action) { + switch (action.type) { + case GIS_CONFIRM_CELLS_RECEIVED: + return { + ...state, + cells: action.cells + } + case GIS_CONFIRM_NBRS_RECEIVED: + //Show hidden relations + let rlns = {} + Object.keys(state.hiddenRelations).forEach(key => { + let re = new RegExp(`^${action.ci}-`); + if(!key.match(re)) rlns[key] = 1; + }); + + return { + ...state, + relations: { + ...state.relations, + [action.ci]: action.nbrs + }, + redraw: state.redraw + 1, + hiddenRelations: rlns + } + case GIS_HIDE_CELL_NBRS: + let relations = state.relations; + delete relations[action.ci]; + + console.log("delete relations[action.ci];:", relations); + + return { + ...state, + relations: relations, + redraw: state.redraw + 1 + } + case GIS_HIDE_RELATION: + return { + ...state, + hiddenRelations:{ + ...state.hiddenRelations, + [action.svr_ci + "-" + action.nbr_ci]: {} + } + } + case GIS_CLEAR: + return initialState; + default: + return state; + } +} + +export default gis; \ No newline at end of file diff --git a/src/modules/gis/gis.css b/src/modules/gis/gis.css index e69de29b..c4bf0008 100644 --- a/src/modules/gis/gis.css +++ b/src/modules/gis/gis.css @@ -0,0 +1,65 @@ + .gis-text-labels { +} + +.gis-cell-table-wrapper { + position:relative; +} + +.gis-cell-table-scroll { + height:150px; + overflow:auto; + margin-top:20px; +} + +.gis-cell-table-wrapper table { + width:100%; +} + +.gis-cell-table-wrapper table thead th .text { + position:absolute; + top:-20px; + z-index:2; + height:20px; + width:40%; +} + + +.gis-cell-table-wrapper table thead th{ + padding: 0rem; + vertical-align: top; + border-top: 0px solid #dee2e6; +} + + +.map-container .sidebar-pane { + display: none; + left: 0; + right: 0; + box-sizing: border-box; + padding: 10px 10px; +} + +.map-container .sidebar-header { + font-size: 11.4pt; +} + + +h6.horizontal-line { + position: relative; +} + +h6.horizontal-line span.horizontal-line-text { + background-color: white; + padding-right: 10px; +} + +h6.horizontal-line:after { + content:""; + position: absolute; + bottom: 0; + left: 0; + right: 0; + height: 0.5em; + border-top: 1px solid black; + z-index: -1; +} \ No newline at end of file diff --git a/src/modules/help/Help.jsx b/src/modules/help/Help.jsx index 6da7b9df..b86f444c 100644 --- a/src/modules/help/Help.jsx +++ b/src/modules/help/Help.jsx @@ -40,9 +40,15 @@ export default class Help extends React.Component { forum. + +
  • The project source code is available on + Github
  • +
  • Issues with the application should be logged at the project's github issue tracker
  • + target="_blank" rel="noopener noreferrer"> Github issue tracker +
    diff --git a/src/modules/layout/SidePanel.jsx b/src/modules/layout/SidePanel.jsx index 8d8897e3..776df088 100644 --- a/src/modules/layout/SidePanel.jsx +++ b/src/modules/layout/SidePanel.jsx @@ -1,12 +1,14 @@ import React from 'react'; import DashboardSidePanel from '../dashboard/DashboardSidepanel'; import ReportsTree from '../reports/ReportsTree'; +import GISLeftPanel from '../gis/GISLeftPanel'; import { connect } from 'react-redux'; import './sidepanel.css' const SidePanels = { "DashboardSidePanel": DashboardSidePanel, - "ReportsTree": ReportsTree + "ReportsTree": ReportsTree, + "GISLeftPanel": GISLeftPanel }; class SidePanel extends React.Component{ diff --git a/src/modules/layout/Tabs.jsx b/src/modules/layout/Tabs.jsx index d51bedcd..5b25cf15 100644 --- a/src/modules/layout/Tabs.jsx +++ b/src/modules/layout/Tabs.jsx @@ -2,7 +2,7 @@ import React from 'react'; import { connect } from 'react-redux'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import Dashboard from '../dashboard/Dashboard'; -import ProcessCMDumps from '../cm/ProcessCMDumps'; +import ParseAndImport from '../cm/ParseAndImport'; import { closeTab, setActiveTab } from './uilayout-actions'; import { OverflowList, Boundary, Position, Classes, MenuItem, Popover, Menu, Icon } from "@blueprintjs/core"; @@ -18,7 +18,7 @@ import GISMap from '../gis/GISMap'; const Components = { "Help": Help, "Dashboard": Dashboard, - "ProcessCMDumps": ProcessCMDumps, + "ParseAndImport": ParseAndImport, "UserProfile": UserProfile, "Settings": Settings, "Database": Database, diff --git a/src/modules/layout/UILayout.js b/src/modules/layout/UILayout.js index 6077f58b..7b6034d9 100644 --- a/src/modules/layout/UILayout.js +++ b/src/modules/layout/UILayout.js @@ -44,15 +44,18 @@ class UILayout extends React.Component { const moduleMenu = ( - - + diff --git a/src/modules/reports/CreateCompositeReport.jsx b/src/modules/reports/CreateCompositeReport.jsx index 4866c1d5..32926c8f 100644 --- a/src/modules/reports/CreateCompositeReport.jsx +++ b/src/modules/reports/CreateCompositeReport.jsx @@ -1,5 +1,4 @@ import React from 'react' -import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import { connect } from 'react-redux'; import { Button, ResizeSensor, Spinner, Icon, Intent, MenuItem, Menu, FormGroup, InputGroup } from "@blueprintjs/core"; @@ -238,7 +237,7 @@ class CreateCompositeReport extends React.Component { const options = { layout: this.props.options.layout } - + this.props.dispatch(saveCompositeReport(compReportId, name, catId, options)); } /** @@ -253,7 +252,7 @@ class CreateCompositeReport extends React.Component { const colCount = this.props.options.columns; - let activeItem = this.state.category; + //let activeItem = this.state.category; let category = this.state.category; @@ -328,7 +327,7 @@ class CreateCompositeReport extends React.Component { ]; const addBoxRow = this.props.options.layout.length === 0 ? 0 : Math.ceil(this.props.options.layout.length/colCount) + 1 - const layout = [...this.props.options.layout, {i: 'z', x: 0, y: addBoxRow, w: 2, h: 2}]; + const layout = [...this.props.options.layout, {i: 'z', x: 0, y: addBoxRow, w: 2, h: 1}]; //layout.push({i: 'b', x: 3, y: 0, w: 2, h: 2}) //When editing, show spinner as we wait for the report info to be loaded in the state diff --git a/src/modules/reports/DBQueryHelper.js b/src/modules/reports/DBQueryHelper.js index 71264884..4819b105 100644 --- a/src/modules/reports/DBQueryHelper.js +++ b/src/modules/reports/DBQueryHelper.js @@ -84,7 +84,13 @@ export async function runQuery(query){ return err; } }); - + + //console.log(client); + //if(client.processID === null){ + // log.error('Failed to connect to database'); + // return {error: 'Failed to connect to database'}; + //} + let results = await new Promise((resolve, reject) => { client.query(query) diff --git a/src/modules/reports/ReportsTree.jsx b/src/modules/reports/ReportsTree.jsx index 290e8b50..37a1b27e 100644 --- a/src/modules/reports/ReportsTree.jsx +++ b/src/modules/reports/ReportsTree.jsx @@ -10,7 +10,8 @@ import { Classes, Icon, Tree, FormGroup, InputGroup, from "@blueprintjs/core"; import './reports-panel.css'; import { saveCategory, clearReportCreateState, removeCategory, getCategory, - clearEditCategoryState, clearCreateCompReportState } + clearEditCategoryState, clearCreateCompReportState, + clearNewCategoryState } from "./reports-actions" @@ -100,8 +101,8 @@ class ReportsTree extends React.Component{ ContextMenu.show( {ev.preventDefault(); this.showReportDataTab(node.label, node.reportId);}}/> - {node.inBuilt === 1 ? "" : {ev.preventDefault(); this.removeReport(node.reportId);}}/> } - {node.inBuilt === 1 || node.type === 'composite' ? + {node.inBuilt === true ? "" : {ev.preventDefault(); this.removeReport(node.reportId);}}/> } + {node.inBuilt === true || node.type === 'composite' ? {ev.preventDefault(); this.createCompositeReport(node.reportId)}} /> : {ev.preventDefault(); this.showEditTab(node.reportId)}} /> } @@ -114,7 +115,7 @@ class ReportsTree extends React.Component{ ContextMenu.show( {ev.preventDefault(); this.openEditCategoryDialog(node.catId)} } /> - {node.inBuilt === 1 ? "" : {ev.preventDefault(); this.deleteCategory(node.catId)} } /> } + {node.inBuilt === true ? "" : {ev.preventDefault(); this.deleteCategory(node.catId)} } /> } , { left: e.clientX, top: e.clientY }, () => this.setState({ isContextMenuOpen: false }), @@ -374,6 +375,7 @@ class ReportsTree extends React.Component{ openCreateCategoryDialog = () => { this.props.dispatch(clearEditCategoryState()); + this.props.dispatch(clearNewCategoryState()); this.catName = ""; this.catNotes = ""; this.catDialogTitle = "Add report category"; diff --git a/src/modules/reports/TableReport.jsx b/src/modules/reports/TableReport.jsx index e67c0a03..9ab18e59 100644 --- a/src/modules/reports/TableReport.jsx +++ b/src/modules/reports/TableReport.jsx @@ -113,8 +113,7 @@ class TableReport extends React.Component{ '25', '50', '100', - '200', - '500' + '200' ]; } diff --git a/src/modules/reports/reports-actions.js b/src/modules/reports/reports-actions.js index 839b2af3..7349f2da 100644 --- a/src/modules/reports/reports-actions.js +++ b/src/modules/reports/reports-actions.js @@ -1,9 +1,5 @@ -import { SQLITE3_DB_PATH } from "../session/db-settings"; import { runQuery, getQueryFieldsInfo } from './DBQueryHelper.js'; - -const sqlite3 = window.require('sqlite3').verbose() const log = window.require('electron-log'); -const { Client } = window.require('pg'); export const REQUEST_REPORTS = 'REQUEST_REPORTS'; @@ -52,6 +48,9 @@ export const CONFIRM_REPORT_CATEGORY_RECEIVED = 'CONFIRM_REPORT_CATEGORY_RECEIVE */ export const CLEAR_EDIT_RPT_CATEGORY = 'CLEAR_EDIT_RPT_CATEGORY'; +//Clear new category state i.e reports.newCat +export const CLEAR_NEW_RPT_CATEGORY = 'CLEAR_NEW_RPT_CATEGORY'; + export const CREATE_RPT_REQUEST_FIELDS = 'CREATE_RPT_REQUEST_FIELDS'; export const CREATE_RPT_RECEIVE_FIELDS = 'CREATE_RPT_RECEIVE_FIELDS'; @@ -186,20 +185,19 @@ export function receiveReport(reportId, reportInfo){ //Get details for a single report export function getReportInfo(reportId){ - return (dispatch, getState) => { + return async (dispatch, getState) => { dispatch(requestReport(reportId)); + const query = `SELECT t.* FROM reports.reports t WHERE t.id = ${reportId}`; + const results = await runQuery(query); + + if(typeof results.error !== 'undefined'){ + log.error(results.error); + dispatch(notifyReportRequestError(results.error)); + return; + } - let db = new sqlite3.Database(SQLITE3_DB_PATH); - db.all("SELECT t.rowid as id, t.* FROM reports t WHERE t.rowid = ?", [reportId], (err, rows) => { - if(err !== null){ - log.error(err); - dispatch(notifyReportRequestError(err.toString())); - return; - } - let reportInfo = rows[0] - reportInfo.options = JSON.parse(rows[0].options) - dispatch(receiveReport(reportId, reportInfo)); - }); + let reportInfo = results.rows[0] + dispatch(receiveReport(reportId, reportInfo)); } } @@ -220,134 +218,91 @@ export function notifyReceiveReportFieldsFailure(reportId, error){ * @param String reportId */ export function getReportFields(reportId){ - return (dispatch, getState) => { + return async(dispatch, getState) => { dispatch(requestReportFields(reportId)); - let db = new sqlite3.Database(SQLITE3_DB_PATH); - db.all("SELECT * FROM databases WHERE name = ?", ["boda"] , (err, row) => { - if(err !== null){ - log.error(row); - return dispatch(notifyReceiveReportFieldsFailure(reportId, "Error occured. See log for detials.")); - } - - const hostname = row[0].hostname; - const port = row[0].port; - const username = row[0].username; - const password = row[0].password; - - //get report details - db.all("SELECT * FROM reports r WHERE rowid = ?",[reportId], (rErr, rRows) => { - if(rErr !== null){ - log.error(rErr); - return dispatch(notifyReceiveReportFieldsFailure(reportId, "Error getting report info. See log for detials.")); - } - - let query = rRows[0].query; - - //For now let's get the fields from the first records returned from the query - //@TODO: Pick from sqlite db the connection details - //const url = `mongodb://127.0.0.1:27017/boda`; - - const connectionString = `postgresql://${username}:${password}@${hostname}:${port}/boda` - - const client = new Client({ - connectionString: connectionString, - }); - - client.connect((err) => { - if(err){ - log.error(`Failed to connect to ${connectionString}. ${err}`); - return dispatch(notifyReceiveReportFieldsFailure(reportId, "Error occured while connecting to database. See log for detials.")); - //return dispatch(receiveReportFields(reportId, [])); - //@TODO: Create failure notifiation action - //return dispatch(notifyReceiveReportFieldsFailure(reportId, `Failed to connect to ${url}. ${err}`)); - } - }); - - client.query(`SELECT * FROM (${query}) t LIMIT 0`) - .then( result => { - let fields = result.fields.map((v,i) => v.name ); - return dispatch(receiveReportFields(reportId, fields)); - } ) - .catch(e => { - //@TODO: Error notice - log.error(e); - return dispatch(notifyReceiveReportFieldsFailure(reportId, "Error occured while executing query. See log for detials.")); - //return dispatch(receiveReportFields(reportId, [])); - }) - .then(() => client.end()); - - });//db.all() - - - - });//db.all- get db connection details - + //@TODO: only select query + const query = `SELECT * FROM reports.reports r WHERE r.id =${reportId}`; + const results = await runQuery(query); + + //@TODO: Handle connection error + + let query2 = results.rows[0].query; + + const results2 = await runQuery(`SELECT * FROM (${query2}) t LIMIT 0`); + //@TODO: Check for connection error and + if(typeof results2.error !== 'undefined'){ + log.error(results2.error); + return dispatch(notifyReceiveReportFieldsFailure(reportId, "Error occured while getting reports fileds. See log for detials.")); + } + + let fields = results2.fields.map((v,i) => v.name ); + return dispatch(receiveReportFields(reportId, fields)); } } export function getReports(){ - return (dispatch, getState) => { + return async (dispatch, getState) => { dispatch(requestReports()); - let db = new sqlite3.Database(SQLITE3_DB_PATH); - return db.all(`SELECT - r.rowid as id, + const query = `SELECT + r.id as id, r.name as name, r.type as type, - c.rowid as cat_id, + c.id as cat_id, c.name as cat_name, r.in_built as r_in_built, c.in_built as c_in_built - FROM rpt_categories c - LEFT join reports r ON r.category_id = c.rowid `, (err, rows) => { - - if(err !== null){ - log.error(err); - dispatch(notifyReportRequestError(err.toString())); - } - - /* - * Holds an list/array of categories and for each category there is an list/array of reports - */ - let reports = [] - let catIndexMap = {} //Map of category names to ids + FROM reports.categories c + LEFT join reports.reports r ON r.category_id = c.id`; - rows.forEach((item, index) => { - - if(typeof catIndexMap[item.cat_name] === 'undefined'){ //this is a new category - reports.push({ - cat_id: item.cat_id, - cat_name: item.cat_name, - in_built: item.c_in_built, - reports: [] - }) - - let catIndex = reports.length - 1 - catIndexMap[item.cat_name] = catIndex; - } + const results = await runQuery(query); + if(typeof results.error !== 'undefined'){ + log.error(results.error); + return dispatch(notifyReportRequestError(results.error)); + } + + /* + * Holds an list/array of categories and for each category there is an list/array of reports + */ + let reports = []; + let catIndexMap = {}; //Map of category names to ids + + results.rows.forEach((item, index) => { + + if(typeof catIndexMap[item.cat_name] === 'undefined'){ //this is a new category + reports.push({ + cat_id: item.cat_id, + cat_name: item.cat_name, + in_built: item.c_in_built, + reports: [] + }) - //No report info - if(item.id === null) return; + let catIndex = reports.length - 1 + catIndexMap[item.cat_name] = catIndex; + } - //At this point we already have the category so we update the report list - let catIndex = catIndexMap[item.cat_name]; - reports[catIndex].reports.push({ - id: item.id, - name: item.name, - in_built: item.r_in_built, - type: item.type - }) - }); - - dispatch(receiveReports(reports)); + //No report info + if(item.id === null) return; + //At this point we already have the category so we update the report list + let catIndex = catIndexMap[item.cat_name]; + reports[catIndex].reports.push({ + id: item.id, + name: item.name, + in_built: item.r_in_built, + type: item.type + }) }); + + dispatch(receiveReports(reports)); } } + +//@TODO: Remove if not being used /** * Request report details * @@ -399,6 +354,11 @@ export function clearEditCategoryState(){ } } +export function clearNewCategoryState(){ + return { + type: CLEAR_NEW_RPT_CATEGORY + } +} export function sendCreateReportCategoryRequest(){ return { @@ -430,59 +390,47 @@ export function sendDeleteReportCategoryRequest(){ * @returns {undefined} */ export function saveCategory(catName, catNotes, catId){ - return(dispatch, getState) => { + return async ( dispatch, getState) => { dispatch(sendCreateReportCategoryRequest()); - - let db = new sqlite3.Database(SQLITE3_DB_PATH); - db.serialize(async () => { - try{ - //Update if category id not null - if(catId !== null){ - - let stmt = db.prepare( - "UPDATE rpt_categories SET " + - " name = ?, notes = ? " + - " WHERE " + - " rowid = ?"); - - stmt.run([catName, catNotes, catId], async function(err){ - if(err !== null){ - log.error(err.toString()) - return dispatch(notifyReportCategoryCreationError('Error updating report. Check log for details')); - } - - //Update the report tree incase the report name changed - await dispatch(getReports()); - return dispatch(confirmReportCategoryCreation()); - }); - - }else{ - let stmt = db.prepare( - "INSERT INTO rpt_categories " + - " (name, notes, parent_id)" + - " VALUES " + - "(?,?,0)" - ); - - stmt.run([catName, catNotes], (err) => { - if(err !== null){ - log.error(err.toString()) - return dispatch(notifyReportCategoryCreationError('Error inserting category. Check log for details')); - } - - - dispatch(getReports()); - return dispatch(confirmReportCategoryCreation()); - }); - stmt.finalize(); + + try{ + //Update if category id not null + if(catId !== null){ + + let qry = ` + UPDATE reports.categories t SET + name = $$${catName}$$, notes = $$${catNotes}$$ + WHERE + id = ${catId}`; + const result = await runQuery(qry); + if(typeof result.error !== 'undefined'){ + log.error(result.error) + return dispatch(notifyReportCategoryCreationError('Error updating report. Check log for details')); + } - + }else{ + let qry = ` + INSERT INTO reports.categories + (name, notes, parent_id) + VALUES + ($$${catName}$$, $$${catNotes}$$,0) + `; + + const result = await runQuery(qry); + if(typeof result.error !== 'undefined'){ + log.error(result.error) + return dispatch(notifyReportCategoryCreationError('Error inserting category. Check log for details')); } + } - }catch(e){ - return dispatch(notifyReportCategoryCreationError('Error during category creation.')); - } - }); + //Update the report tree incase the report name changed + dispatch(getReports()); + return dispatch(confirmReportCategoryCreation()); + + }catch(e){ + return dispatch(notifyReportCategoryCreationError('Error during category saving.')); + } + } } @@ -506,27 +454,23 @@ export function sendDeleteCategoryRequest(){ * @returns {Function}* */ export function removeCategory(catId){ - return(dispatch, getState) => { + return async (dispatch, getState) => { dispatch(sendDeleteCategoryRequest()); - - let db = new sqlite3.Database(SQLITE3_DB_PATH); - db.serialize(() => { - try{ - db.run("DELETE FROM rpt_categories WHERE rowid = ? ", catId, (err) => { - if(err !== null){ - log.error(err.toString()); - return dispatch(notifyReportCategoryCreationError('Error during category creation.')); - } - - return dispatch(notifyReportCategoryCreationError("Error while deleting category.")); - }); - - dispatch(getReports()); - return dispatch(confirmReportCategoryDeletion({})); - }catch(e){ - return dispatch(notifyReportCategoryCreationError('Error during category creation.')); + + try{ + const query = `DELETE FROM reports.categories WHERE id = ${catId}`; + const results = await runQuery(query); + + if(typeof results.error !== 'undefined'){ + log.error(results.error); + return dispatch(notifyReportCategoryCreationError("Error while deleting category.")); } - }); + + dispatch(getReports()); + return dispatch(confirmReportCategoryDeletion({})); + }catch(e){ + return dispatch(notifyReportCategoryCreationError('Error during category deletion.')); + } } } @@ -573,19 +517,20 @@ export function confirmReportCategoryReceived(categoryId, data){ * @returns {Function} */ export function getCategory(categoryId){ - return(dispatch, getState) => { + return async (dispatch, getState) => { dispatch(requestReportCategory(categoryId)) - let db = new sqlite3.Database(SQLITE3_DB_PATH); - db.all("SELECT * FROM rpt_categories WHERE rowid = ? ", categoryId, (err, rows ) => { - if(err !== null){ - log.error(err.toString()); - return dispatch(notifyReportCategoryCreationError('Error occured while getting category.')); - } - - return dispatch(confirmReportCategoryReceived(categoryId, rows[0])); - - }); + const query = `SELECT * FROM reports.categories c WHERE id = ${categoryId} `; + const results = await runQuery(query); + //@TODO: Check result status + + if(typeof results.error !== 'undefined'){ + log.error(results.error); + return dispatch(notifyReportCategoryCreationError('Error occured while getting category.')); + } + + return dispatch(confirmReportCategoryReceived(categoryId, results.rows[0])); + } } @@ -612,84 +557,86 @@ export function confirmReportCreation(reportId, reportInfo){ } export function createOrUpdateReport({name, category_id, notes, qry, reportId, options}){ - return (dispatch, getState) => { + return async (dispatch, getState) => { dispatch(createReportRequest()); const reportType = typeof options.type === 'undefined' ? 'Table': options.type; - let db = new sqlite3.Database(SQLITE3_DB_PATH); - db.serialize(async () => { try{ - //Update if reportId not null - if(reportId !== null){ - let stmt = db.prepare( - "UPDATE reports SET " + - " name = ?, notes = ?, category_id = ?, query = ?, options = ?, type = ?" + - " WHERE " + - " rowid = ?"); - - stmt.run([name, notes, category_id, qry, JSON.stringify(options), reportType, reportId], async function(err){ - if(err !== null){ - log.error(err.toString()) - return dispatch(createReportPreviewError('Error updating report. Check log for details')); - } - - const data = { - name: name, - category_id: category_id, - notes: notes, - query: qry, - options: options, - id: reportId - } - //Update the report tree incase the report name changed - await dispatch(getReports()); - return dispatch(confirmReportCreation(reportId, data)); - }); - - }else{ - - //Insert/create new report - let stmt = db.prepare( - "INSERT INTO reports " + - " (name, notes, category_id, query, options, type)" + - " VALUES " + - "(?,?,?,?,?,?)" - ); + //Update if reportId not null + if(reportId !== null){ + let query = ` + UPDATE reports.reports SET + name = $$${name}$$, + notes = $$${notes}$$, + category_id = ${category_id}, + query = $$${qry}$$, + options = $$${JSON.stringify(options)}$$, + type = '${reportType}' + WHERE " + + id = ${reportId}`; - - stmt.run([name, notes, category_id, qry, JSON.stringify(options), reportType], async function(err){ - if(err !== null){ - log.error(err.toString()) - return dispatch(createReportPreviewError('Error creating report. Check log for details')); - } - - const reportId = this.lastID; - const data = { - name: name, - category_id: category_id, - notes: notes, - query: qry, - options: options - } - //Update the report tree incase the report name changed - await dispatch(getReports()); - - return dispatch(confirmReportCreation(reportId, data)); - - }); - stmt.finalize(); - - } + const results = await runQuery(query); + if(typeof results.error !== 'undefined'){ + log.error(results.error) + return dispatch(createReportPreviewError('Error updating report. Check log for details')); + } + + const data = { + name: name, + category_id: category_id, + notes: notes, + query: qry, + options: options, + id: reportId + } + //Update the report tree incase the report name changed + dispatch(getReports()); + return dispatch(confirmReportCreation(reportId, data)); + }else{ + + //Insert/create new report + let query = ` + INSERT INTO reports.reports + (name, notes, category_id, query, options, type) + VALUES + ($$${name}$$, $$${notes}$$, ${category_id}, $$${qry}$$, $$${JSON.stringify(options)}$$, '${reportType}') + RETURNING id; + `; + + console.log(qry); + const results = await runQuery(query); + + console.log("+++++++++++++++++++++++++++++"); + console.log(results); + if(typeof results.error !== 'undefined'){ + log.error(results.error) + return dispatch(createReportPreviewError('Error updating report. Check log for details')); + } + + + const reportId = results.rows[0].id; + const data = { + name: name, + category_id: category_id, + notes: notes, + query: qry, + options: options + } + //Update the report tree incase the report name changed + dispatch(getReports()); - }catch(e){ - return dispatch(createReportPreviewError('Error during category creation.')); + return dispatch(confirmReportCreation(reportId, data)); + } - }); + + }catch(e){ + return dispatch(createReportPreviewError('Report creationg error. ' + e.toString())); + } } } @@ -767,27 +714,27 @@ export function confirmReportDeletion(reportId){ export function deleteReport(reportId){ - return (dispatch, getState) => { + return async (dispatch, getState) => { dispatch(requestReportDeletion()); - - let db = new sqlite3.Database(SQLITE3_DB_PATH); - db.serialize(() => { - try{ - db.run("DELETE FROM reports WHERE rowid = ? ", reportId, (err) => { - if(err !== null){ - log.error(err.toString()); - return dispatch(notifyReportCategoryCreationError('Error during category creation.')); - } - - return dispatch(confirmReportDeletion("Report successfully deleted.")); - }); - - dispatch(getReports()); - }catch(e){ - log.error(e.toString()); - return dispatch(notifyReportCategoryCreationError('Error during category creation.')); + + try{ + const query = `DELETE FROM reports.reports WHERE id = ${reportId}`; + const results = await runQuery(query); + + if(typeof results.error !== 'undefined'){ + log.error(results.error); + dispatch(notifyReportRequestError(results.error)); + return; } - }); + + dispatch(confirmReportDeletion("Report successfully deleted.")); + + dispatch(getReports()); + }catch(e){ + log.error(e.toString()); + return dispatch(notifyReportRequestError('Error during report creation.')); + } + } } @@ -817,28 +764,30 @@ export function receiveGraphData(reportId, reportData){ } export function getGraphData(reportId){ - return(dispatch, getState) => { + return async (dispatch, getState) => { dispatch(requestGraphData(reportId)) - let db = new sqlite3.Database(SQLITE3_DB_PATH); - db.all("SELECT * FROM reports WHERE rowid = ? ", reportId, async (err, rows ) => { - if(err !== null){ - log.error(err.toString()); - return dispatch(notifyReceiveReportFieldsFailure(reportId, "Error occured. See log for detials.")); - } - - const query = rows[0].query; - try{ - const results = await runQuery(query); - return dispatch(receiveGraphData(reportId, results.rows)); - }catch(err2){ - log.error(err2); - return dispatch(notifyReceiveReportFieldsFailure(reportId, "Error occured. See log for detials.")); - } + const query = `SELECT t.* FROM reports.reports t WHERE t.id = ${reportId}`; + const qResults = await runQuery(query); + const rptQry = qResults.rows[0].query; + + if(typeof qResults.error !== 'undefined'){ + log.error(qResults.error); - }); - + //@TODO: Confirm that this is not the correct notify action + dispatch(notifyReportRequestError(qResults.error)); + return; + } + + try{ + const results = await runQuery(rptQry); + return dispatch(receiveGraphData(reportId, results.rows)); + }catch(err2){ + log.error(err2); + //@TODO: Confirm that this is not the correct notify action + return dispatch(notifyReceiveReportFieldsFailure(reportId, "Error occured. See log for detials.")); + } } } @@ -853,12 +802,11 @@ export function addToCompositeReport(compReportId, reportId, options ){ if(typeof compReportId !== 'number') compReportId = null; //@TODO: Insert into db and report compReportId - const compRptId = 4; - const key = `a${compRptId}` + const key = `a${compReportId||"999"}` return { type: ADD_TO_COMPOSITE_REPORT, - compReportId: compRptId, + compReportId: compReportId, reportId: reportId, options: { ...options, key: key} } @@ -877,74 +825,71 @@ export function updateCompositeLayout(layout){ } export function saveCompositeReport(reportId, name, catId, options){ - return (dispatch, getState) => { + return async (dispatch, getState) => { //@TODO: action notifying start of saving const opts = {...options, type: 'Composite'} - let db = new sqlite3.Database(SQLITE3_DB_PATH); - db.serialize(async () => { - try{ - //Update if reportId not null - if(reportId !== null){ - let stmt = db.prepare( - "UPDATE reports SET " + - " name = ?, notes = ?, category_id = ?, query = ?, options = ?, type = ?" + - " WHERE " + - " rowid = ?"); - - stmt.run([name, '', catId, '', JSON.stringify(opts), 'composite', reportId], async function(err){ - if(err !== null){ - log.error(err.toString()) - //@TODO: Show error on create page - //return dispatch(createReportPreviewError('Error updating report. Check log for details')); - return ; - } - - const reportInfo = getState().reports.reportsInfo[reportId] - const data = { - ...reportInfo, - name: name, - category_id: catId, - options: options - }; - - //Update the report tree incase the report name changed - dispatch(getReportInfo(reportId)); - dispatch(getReports()); - dispatch(confirmCompReportCreation(reportId, data)); - }); - }else{ - //Insert/create new report - let stmt = db.prepare( - "INSERT INTO reports " + - " (name, notes, category_id, query, options, type)" + - " VALUES " + - "(?,?,?,?,?,?)" - ); - - - stmt.run([name, '', catId, '', JSON.stringify(opts), 'composite'], async function(err){ - if(err !== null){ - log.error(err.toString()) - //@TODO: Show error on create page - //return dispatch(createReportPreviewError('Error creating report. Check log for details')); - return; - } - - //Update the report tree incase the report name changed - dispatch(getReports()); - - //@TODO: Confirm report creation - //return dispatch(confirmReportCreation(reportId, data)); - - }); - stmt.finalize(); + try{ + + //Update if reportId not null + if(reportId !== null){ + let qry = ` + UPDATE reports.reports SET + name = $$${name}$$, + notes = '', + category_id = ${catId}, + options = $$${JSON.stringify(opts)}$$, + type = 'composite', + query = '' + WHERE + id = ${reportId}`; + + const results = await runQuery(qry); + + if(typeof results.error !== 'undefined'){ + log.error(results.error); + //return dispatch(createReportPreviewError('Error updating report. Check log for details')); + return; + } + + const reportInfo = getState().reports.reportsInfo[reportId] + const data = { + ...reportInfo, + name: name, + category_id: catId, + options: options + }; + + //Update the report tree incase the report name changed + dispatch(getReportInfo(reportId)); + dispatch(getReports()); + dispatch(confirmCompReportCreation(reportId, data)); + + }else{ + //Insert/create new report + let qry = ` + INSERT INTO reports.reports + (name, notes, category_id, query, options, type) + VALUES + ($$${name}$$, '', ${catId}, '', $$${JSON.stringify(opts)}$$, 'composite') + RETURNING id + `; + + const results = await runQuery(qry); + if(typeof results.error !== 'undefined'){ + log.error(results.error); + //return dispatch(createReportPreviewError('Error updating report. Check log for details')); + return; } - }catch(e){ + //Update the report tree incase the report name changed + dispatch(getReports()); + } - }); + }catch(e){ + + } } } diff --git a/src/modules/reports/reports-reducer.js b/src/modules/reports/reports-reducer.js index 182ae69f..57b929a4 100644 --- a/src/modules/reports/reports-reducer.js +++ b/src/modules/reports/reports-reducer.js @@ -21,7 +21,13 @@ import { REQUEST_REPORTS, REQUEST_REPORT_FIELDS, RECEIVE_REPORTS, //Load comp reprt info edit LOAD_COMP_RPT_INFO_FOR_EDIT, - CONFIRM_COMP_RPT_CREATION + CONFIRM_COMP_RPT_CREATION, + + // + CLEAR_REPORT_TREE_ERROR, + + //Clear + CLEAR_NEW_RPT_CATEGORY } from './reports-actions'; @@ -232,6 +238,11 @@ export default function reports(state = initialState, action){ ...state, editCat: null } + case CLEAR_NEW_RPT_CATEGORY: + return { + ...state, + newCat: { requesting: null} + } case NOTIFY_REPORT_CATEGORY_RENAME_ERROR: return { ...state, @@ -300,6 +311,11 @@ export default function reports(state = initialState, action){ [action.reportId]: action.data } } + case CLEAR_REPORT_TREE_ERROR: + return { + ...state, + requestError: null + } default: return state; } diff --git a/src/modules/session/session-actions.js b/src/modules/session/session-actions.js index 63e556ac..f1064aaf 100644 --- a/src/modules/session/session-actions.js +++ b/src/modules/session/session-actions.js @@ -1,25 +1,4 @@ import 'url-search-params-polyfill'; -//import * as sqlite3 from 'sqlite3'; -//@TODO: Move this into the db setup script to reduce size of the bundle -import { HUAWEI_2G_KEY_PARAMAETERS, - HUAWEI_3G_KEY_PARAMAETERS, - HUAWEI_4G_KEY_PARAMAETERS } - from '../../services/postgresql/HuaweiKeyParametersQueries.js'; - -import { ERICSSON_2G_KEY_PARAMAETERS, - ERICSSON_3G_KEY_PARAMAETERS, - ERICSSON_4G_KEY_PARAMAETERS } - from '../../services/postgresql/EricssonKeyParametersQueries.js'; -import { ZTE_2G_KEY_PARAMAETERS, - ZTE_3G_KEY_PARAMAETERS, - ZTE_4G_KEY_PARAMAETERS } - from '../../services/postgresql/ZTEKeyParametersQueries.js'; -import { NOKIA_2G_KEY_PARAMAETERS, - NOKIA_3G_KEY_PARAMAETERS, - NOKIA_4G_KEY_PARAMAETERS } - from '../../services/postgresql/NokiaKeyParametersQueries.js'; -import { NETWORK_CELLS, NETWORK_NODES, NETWORK_SITES } - from '../../services/postgresql/NetworkEntities.js'; import { SQLITE3_DB_PATH } from "./db-settings"; const fs = window.require('fs'); @@ -154,9 +133,6 @@ export function checkDBSetupStatus(){ log.info(`Deleting boda-lite.sqlite3 because it's size is 0`); } - - - //@TODO: Move this logic to a different file let db = new sqlite3.Database(SQLITE3_DB_PATH); db.serialize(function() { @@ -198,63 +174,11 @@ export function checkDBSetupStatus(){ stmt.run(); stmt.finalize(); - //Create report categories - db.run("CREATE TABLE rpt_categories (" + - " name TEXT NOT NULL UNIQUE, " + - " notes TEXT NOT NULL," + - " parent_id INTEGER NOT NULL," + - " in_built INTEGER DEFAULT 0" + - ")"); - - //Create reports table - db.run("CREATE TABLE reports (" + - " name TEXT NOT NULL UNIQUE, " + - " notes TEXT NOT NULL," + - " query TEXT NOT NULL," + - " options TEXT NOT NULL," + - " type TEXT NOT NULL," + //table|pie|bar|scatter|compound - " category_id INTEGER NOT NULL," + - " in_built INTEGER DEFAULT 0" + //1-inbuilt, 0-not inbuilt - ")"); - - //Insert default categories - stmt = db.prepare("INSERT INTO rpt_categories " + - " (name, notes, parent_id, in_built)" + - " VALUES " + - "('Key Parameters','Key parameter reports',0, 1),"+ - "('Network Entities','Network Entities reports',0, 1)" - ); - - stmt.run(); - stmt.finalize(); - - //Insert default reports - stmt = db.prepare("INSERT INTO reports (name, notes, query, options, type, category_id, in_built)" + - " VALUES (?, ?, ?, ?, ?, ?, ?)" ); - - stmt.run('Ericsson 2G parameters','Ericsson 2G parameters', ERICSSON_2G_KEY_PARAMAETERS, '{}', 'table',1, 1); - stmt.run('Ericsson 3G parameters','Ericsson 3G parameters', ERICSSON_3G_KEY_PARAMAETERS, '{}', 'table',1, 1); - stmt.run('Ericsson 4G parameters','Ericsson 4G parameters', ERICSSON_4G_KEY_PARAMAETERS, '{}', 'table',1, 1); - stmt.run('Huawei 2G parameters','Huawei 2G parameters', HUAWEI_2G_KEY_PARAMAETERS, '{}', 'table',1, 1); - stmt.run('Huawei 3G parameters','Huawei 3G parameters', HUAWEI_3G_KEY_PARAMAETERS, '{}', 'table',1, 1); - stmt.run('Huawei 4G parameters','Huawei 4G parameters', HUAWEI_4G_KEY_PARAMAETERS, '{}', 'table',1, 1); - stmt.run('ZTE 2G parameters','ZTE 2G parameters', ZTE_2G_KEY_PARAMAETERS, '{}', 'table',1, 1); - stmt.run('ZTE 3G parameters','ZTE 3G parameters', ZTE_3G_KEY_PARAMAETERS, '{}', 'table',1, 1); - stmt.run('ZTE 4G parameters','ZTE 4G parameters', ZTE_4G_KEY_PARAMAETERS, '{}', 'table',1, 1); - stmt.run('Nokia 2G parameters','Nokia 2G parameters', NOKIA_2G_KEY_PARAMAETERS, '{}', 'table',1, 1); - stmt.run('Nokia 3G parameters','Nokia 3G parameters', NOKIA_3G_KEY_PARAMAETERS, '{}', 'table',1, 1); - stmt.run('Nokia 4G parameters','Nokia 4G parameters', NOKIA_4G_KEY_PARAMAETERS, '{}', 'table',1, 1); - stmt.run('Network Cells','Network Cells', NETWORK_CELLS, '{}', 'table',2, 1); - stmt.run('Network Sites','Network Sites', NETWORK_SITES, '{}', 'table',2, 1); - stmt.run('Network Nodes','Network Nodes', NETWORK_NODES, '{}', 'table',2, 1); - - stmt.finalize(); - dispatch(clearNotices()); }); }catch(e){ - console.log(e.toString()); + log.log(e.toString()); dispatch(clearNotices()); } } diff --git a/src/ormconfig.ts b/src/ormconfig.ts deleted file mode 100644 index 483c9594..00000000 --- a/src/ormconfig.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { ConnectionOptions } from 'typeorm'; - -/* -const config: ConnectionOptions = { - type: 'postgres', - host: process.env.POSTGRES_HOST, - port: Number(process.env.POSTGRES_PORT ), - username: process.env.POSTGRES_USER}, - password: process.env.POSTGRES_PASSWORD, - database: process.env.POSTGRES_DB, - entities: [ - __dirname + '/entities/*.entity{.ts,.js}', - ], - cli: { - migrationsDir: 'src/migrations', - } -}; - -export = config; -*/ \ No newline at end of file diff --git a/src/services/mongodb/DefaultReports.js b/src/services/mongodb/DefaultReports.js deleted file mode 100644 index 8ef78397..00000000 --- a/src/services/mongodb/DefaultReports.js +++ /dev/null @@ -1,72 +0,0 @@ -const HUAWEI_G2_KEY_PARAMAETERS = ` -db.huawei_cm_gcell.aggregate( - [ - { - $lookup: { - from: "huawei_cm_sys", - localField: "FILENAME", - foreignField: "FILENAME", - as: "sys" - } - }, - {$unwind: "$sys"}, - { - $lookup: { - from: "huawei_cm_bts", - let: { "bts_id": "$BTSID", "file_name": "$FILENAME"}, - pipeline: [ - { - $match: - { - $expr:{ - $and: [ - {$eq: ["$$file_name", "$FILENAME"]}, - {$eq: ["$$bts_id", "$BTSID"]} - ] - } - } - - } - ], - as: "bts" - } - }, - {$unwind: "$bts"}, - { - $project: { - _id:0, - VENDOR: "HUAWEI", - TECHNOLOGY: "2G", - DATETIME: 1, - CELLNAME:1, - ACTSTATUS:1, - ADMSTAT:1, - MCC:1, - MNC:1, - LAC:1, - CI:1, - BCCHNO:1, - NCC:1, - BCC:1, - BSIC: {$concat: [ {$toString:"$NCC"},{$toString: "$BCC"}] }, - CGI_RAW: {$concat: [{$toString:"$MCC"},"-", {$toString: "$MNC"}, "-", {$toString: "$LAC"}, "-", {$toString: "$CI"}]}, - CGI: {$concat: [{$toString:"$MCC"},"-", {$toString: "$MNC"}, "-", {$toString: "$LAC"}, "-", {$toString: "$CI"}]}, - SITEID: "$BTSID", - NENAME: "$sys.SYSOBJECTID", - SITENAME: "$bts.BTSNAME" - } - }, - { - $match: { - $expr:{ - $and: [ - { $eq: [{$toString: "$BCCHNO"}, "250"]}, - { $eq: [{$toString: "$BCC"}, "6"]}, - ] - } - } - }, - {$limit: 100} - ] -) -`; \ No newline at end of file diff --git a/src/services/mongodb/KeyParameters.js b/src/services/mongodb/KeyParameters.js deleted file mode 100644 index 1cdae557..00000000 --- a/src/services/mongodb/KeyParameters.js +++ /dev/null @@ -1,78 +0,0 @@ -export const HUAWEI_2G_KEY_PARAMAETERS = ` -db.huawei_cm_gcell.aggregate( - [ - { - $lookup: { - from: "huawei_cm_sys", - localField: "FILENAME", - foreignField: "FILENAME", - as: "sys" - } - }, - {$unwind: "$sys"}, - { - $lookup: { - from: "huawei_cm_bts", - let: { "bts_id": "$BTSID", "file_name": "$FILENAME"}, - pipeline: [ - { - $match: - { - $expr:{ - $and: [ - {$eq: ["$$file_name", "$FILENAME"]}, - {$eq: ["$$bts_id", "$BTSID"]} - ] - } - } - - } - ], - as: "bts" - } - }, - {$unwind: "$bts"}, - { - $project: { - _id:0, - VENDOR: "HUAWEI", - TECHNOLOGY: "2G", - DATETIME: 1, - CELLNAME:1, - ACTSTATUS:1, - ADMSTAT:1, - MCC:1, - MNC:1, - LAC:1, - CI:1, - BCCHNO:1, - NCC:1, - BCC:1, - BSIC: {$concat: [ {$toString:"$NCC"},{$toString: "$BCC"}] }, - CGI_RAW: {$concat: [{$toString:"$MCC"},"-", {$toString: "$MNC"}, "-", {$toString: "$LAC"}, "-", {$toString: "$CI"}]}, - CGI: {$concat: [{$toString:"$MCC"},"-", {$toString: "$MNC"}, "-", {$toString: "$LAC"}, "-", {$toString: "$CI"}]}, - SITEID: "$BTSID", - NENAME: "$sys.SYSOBJECTID", - SITENAME: "$bts.BTSNAME" - } - }, - { - $match: { - $expr:{ - $and: [ - { $eq: [{$toString: "$BCCHNO"}, "250"]}, - { $eq: [{$toString: "$BCC"}, "6"]}, - ] - } - } - }, - {$limit: 100} - ] -) -`; - - - -export const HUAWEI_3G_KEY_PARAMAETERS = ` - -` diff --git a/src/services/postgresql/EricssonKeyParametersQueries.js b/src/services/postgresql/EricssonKeyParametersQueries.js deleted file mode 100644 index 8619ef1c..00000000 --- a/src/services/postgresql/EricssonKeyParametersQueries.js +++ /dev/null @@ -1,123 +0,0 @@ -export const ERICSSON_2G_KEY_PARAMAETERS = ` -WITH QRY_CHANNEL_GROUP_TRX AS ( - SELECT - t1.data->>'BSC_NAME' AS "NENAME", - t1.data->>'CELL_NAME' AS "CELLNAME", - COUNT(t1.data->>'CHGR_NAME') AS NumberOfTRX - FROM ericsson_cm."CHANNEL_GROUP" t1 - GROUP BY t1.data->>'BSC_NAME', t1.data->>'CELL_NAME' -) -SELECT - t1.data->>'DATETIME' AS "DATETIME", - 'ERICSSON' AS "VENDOR", - '2G' AS "TECHNOLOGY", - 'BSC' AS "NETYPE", - t1.data->>'BSC_NAME' AS "NENAME", - '' AS "MGW", --- REPLACE("MODE", " - ACTIVE", "") AS MGC, - '' AS "MGC_NUM", - '' AS "CARR", - SUBSTRING(t1.data->>'CELL_NAME', 2, 3) AS "SITEPROP", - SUBSTRING(LPAD(t1.data->>'CI', 5, '0'),0, 4) AS "SITEID", - SUBSTRING(t1.data->>'CELL_NAME', 0, 5) AS "SITENAME", - t1.data->>'CI' AS "CELLID", - t1.data->>'CELL_NAME' AS "CELLNAME", - REPLACE(t1.data->>'CELL_STATE', '"', '') AS "ACTSTATUS", - '' AS BLKSTATUS, - REPLACE(t1.data->>'C_SYS_TYPE', 'GSM', '') AS "DLF", - REPLACE(t1.data->>'C_SYS_TYPE', 'GSM', '') AS "ULF", - '' AS "DLBANDWIDTH", - REPLACE(t1.data->>'C_SYS_TYPE', 'GSM', '') AS "BAND", - t1.data->>'MCC' AS "MCC", - t1.data->>'MNC' AS "MNC", - t1.data->>'LAC' AS "LAC", - '' AS "RAC", - t1.data->>'BCCHNO', - t1.data->>'BCC', - t1.data->>'NCC', - t1.data->>'CI', - CONCAT(t1.data->>'BCC', t1.data->>'NCC') AS "BSIC", - CONCAT(t1.data->>'MCC', ' - ', LPAD(t1.data->>'MNC', 2, '0'), ' - ', LPAD(t1.data->>'LAC',5 ,'0'), ' - ', LPAD(t1.data->>'CI', 5,'0')) AS "CGI", - CONCAT(t1.data->>'MCC', ' - ', t1.data->>'MNC', ' - ', t1.data->>'LAC', ' - ', t1.data->>'CI') AS CGI_Raw, - '' AS "CGI_HEX", - t3.NumberOfTRX AS TRX_NUM -FROM ericsson_cm."INTERNAL_CELL" t1 -INNER JOIN ericsson_cm."BSC" t2 ON t1.data->>'BSC_NAME' = t2.data->>'BSC_NAME' - LEFT JOIN QRY_CHANNEL_GROUP_TRX t3 - ON t1.data->>'CELL_NAME' = t3."CELLNAME" - AND t1.data->>'BSC_NAME' = t3."NENAME" -` - - -export const ERICSSON_3G_KEY_PARAMAETERS = ` -SELECT t1.data->>'DATETIME' AS "DATETIME", - 'ERICSSON' AS "VENDOR", - '3G' AS "TECHNOLOGY", - t1.data->>'SubNetwork_2_id' AS "NENAME", - t2.data->>'cId' AS "CELLID", - t2.data->>'userLabel' AS "CELLNAME", --- t3."CELLNAME_SC", - SUBSTRING(t2.data->>'userLabel', 2, 3) AS "SITEPROP", - SUBSTRING(LPAD(t2.data->>'cId', 5, '0'),0, 4) AS "SITEID", - t3.data->>'MeContext_id' as "SITENAME", - t1.data->>'plmnIdentity_mcc' AS "MCC", - t1.data->>'plmnIdentity_mnc' AS "MNC", - t2.data->>'lac' AS "LAC", - t2.data->>'rac' AS "RAC", - t2.data->>'uarfcnDl' AS "DLF", - t2.data->>'uarfcnUl' AS "ULF", - CASE WHEN t2.data->>'administrativeState' = '1' THEN 'UNLOCKED' - WHEN t2.data->>'administrativeState' = '0' THEN 'LOCKED' - ELSE 'SHUTTING_DOWN' - END - AS "ACTSTATUS", - '' AS "BLKSTATUS", - t2.data->>'primaryScramblingCode' AS "PSC", - t2.data->>'cId' AS "CID", - t2.data->>'cId' AS "CI", - CONCAT(t1.data->>'plmnIdentity_mcc', '-', LPAD(t1.data->>'plmnIdentity_mnc', 2, '0'), '-',LPAD(t2.data->>'lac',5, '0'), '-', LPAD(t2.data->>'cId',5, '0')) AS CGI, - CONCAT(t1.data->>'plmnIdentity_mcc', '-', t1.data->>'plmnIdentity_mnc', '-', t2.data->>'lac', '-', t2.data->>'cId') AS "CGI_RAW", - '' AS "CGI_HEX" -FROM ericsson_cm."UtranNetwork" t1 - INNER JOIN ericsson_cm."UtranCell" t2 ON t2.data->>'SubNetwork_2_id' = t1.data->>'SubNetwork_2_id' - LEFT JOIN ericsson_cm."RbsLocalCell" t3 ON t1.data->>'SubNetwork_2_id' = t1.data->>'SubNetwork_2_id' - AND t2.data->>'cId' = t3.data->>'localCellId' - -` - -export const ERICSSON_4G_KEY_PARAMAETERS = ` -SELECT - t1.data->>'DATETIME' AS "DATETIME", - 'ERICSSON' AS "VENDOR", - '4G' AS "TECHNOLOGY", - t1.data->>'SubNetwork_2_id' AS "NENAME", - '' AS "NEID", - SUBSTRING(t2.data->>'MeContext_id',2, 3) AS "SITEPROP", - t2.data->>'eNBId' AS "SITEID", - t2.data->>'MeContext_id' AS "SITENAME", - t1.data->>'cellId' AS "CELLID", - t1.data->>'userLabel' AS "CELLNAME", - 256* CAST( t2.data->>'eNBId' AS integer) + CAST(t1.data->>'cellId' AS integer) AS "CI", - CASE WHEN t1.data->>'administrativeState' = '1' THEN 'UNLOCKED' - WHEN t1.data->>'administrativeState' = '0' THEN 'LOCKED' - ELSE 'SHUTTING_DOWN' - END - AS "ACTSTATUS", - '' AS "BLKSTATUS", - t1.data->>'dlChannelBandwidth' AS "DLBANDWIDTH", --- t1.[BAND], - '' AS "CARR", - t1.data->>'earfcndl' AS "DLF", - t1.data->>'earfcnul' AS "ULF", - t1.data->>'mcc' AS "MCC", - t1.data->>'mnc' AS "MNC", - '' AS "LAC", - '' AS "RAC", - CONCAT(t1.data->>'mcc','-', t1.data->>'mnc', '-', LPAD(t1.data->>'MeContext_id', 5,'0'), '-',LPAD(t1.data->>'cellId', 3, '0')) AS "CGI", - t1.data->>'physicalLayerCellIdGroup' AS "PCI", - t1.data->>'tac' AS "TAC", - t1.data->>'rachRootSequence' AS "ROOTSEQ" -FROM ericsson_cm."EUtranCellFDD" t1 -INNER JOIN ericsson_cm."ENodeBFunction" t2 ON t2.data->>'SubNetwork_2_id' = t1.data->>'SubNetwork_2_id' - -` diff --git a/src/services/postgresql/HuaweiKeyParametersQueries.js b/src/services/postgresql/HuaweiKeyParametersQueries.js deleted file mode 100644 index f4e3c6c6..00000000 --- a/src/services/postgresql/HuaweiKeyParametersQueries.js +++ /dev/null @@ -1,86 +0,0 @@ -export const HUAWEI_2G_KEY_PARAMAETERS = ` - SELECT - t1.data->>'DATETIME' AS "DATETIME", - t2.data->>'SYSOBJECTID' as "NENAME", - 'HUAWEI' AS "VENDOR", - '2G' AS "TECHNOLOGY", - t3.data->>'BTSNAME' AS "SITENAME", - t3.data->>'BTSID' AS "SITEID", - t1.data->>'CELLNAME' AS "CELLNAME", - t1.data->>'ACTSTATUS' AS "ACTSTATUS", - t1.data->>'ADMSTAT' AS "BLKSTATUS", - t1.data->>'MCC' AS "MCC", - t1.data->>'MNC' AS "MNC", - t1.data->>'LAC' AS "LAC", - t1.data->>'CI' AS "CI", - t1.data->>'BCCHNO' AS "BCCHNO", - t1.data->>'NCC' AS "NCC", - t1.data->>'BCC' AS "BCC", - CONCAT(t1.data->>'NCC', t1.data->>'BCC') AS "BSIC", - CONCAT(t1.data->>'MCC', '-', t1.data->>'MNC', '-', t1.data->>'LAC', '-', t1.data->>'CI') AS "CGI_RAW", - CONCAT(t1.data->>'MCC', '-', t1.data->>'MNC', '-', LPAD(t1.data->>'LAC',5,'0'), '-', t1.data->>'CI') AS "CGI" - FROM huawei_cm."GCELL" t1 - INNER JOIN huawei_cm."SYS" t2 ON t1.data->>'FILENAME' = t2.data->>'FILENAME' - INNER JOIN huawei_cm."BTS" t3 ON t3.data->>'BTSID' = t1.data->>'BTSID' AND t1.data->>'FILENAME' = t3.data->>'FILENAME' -`; - - -export const HUAWEI_3G_KEY_PARAMAETERS = ` -SELECT - t1.data->>'DATETIME' AS "DATETIME", - t2.data->>'SYSOBJECTID' AS "NENAME", - 'HUAWEI' AS "VENDOR", - '3G' AS "TECHNOLOGY", - '' AS "NEID", - t4.data->>'NODEBFUNCTIONNAME' AS "SITENAME", - t4.data->>'NODEBID' AS "SITEID", - t1.data->>'CELLNAME' AS "CELLNAME", - t1.data->>'ACTSTATUS' AS "ACTSTATUS", - t1.data->'ADMSTAT' AS "BLKSTATUS", - t5.data->>'MCC' AS "MCC", - t5.data->>'MNC' AS "MNC", - t1.data->>'LAC' AS "LAC", - t1.data->>'RAC' AS "RAC", - t1.data->>'SAC' AS "SAC", - t1.data->>'LOCELL' AS "CI", - t1.data->>'UARFCNDOWNLINK' AS "DLF", - t1.data->>'UARFCNUPLINK' AS "ULF", - t1.data->>'PSCRAMBCODE' AS "PSCRAMBCODE", - CONCAT(t5.data->>'MCC', '-', t5.data->>'MNC', '-', t1.data->>'LAC', '-', t1.data->>'LOCELL') AS "CGI_RAW", - CONCAT(t5.data->>'MCC', '-', t5.data->>'MNC', '-', LPAD(t1.data->>'LAC',5,'0'), '-', t1.data->>'LOCELL') AS "CGI" -FROM huawei_cm."UCELL" t1 - INNER JOIN huawei_cm."SYS" t2 ON t1.data->>'FILENAME' = t2.data->>'FILENAME' - INNER JOIN huawei_cm."URNCBASIC" t3 ON t3.data->>'RNCID' = t1.data->>'LOGICRNCID' AND t1.data->>'FILENAME' = t3.data->>'FILENAME' - INNER JOIN huawei_cm."UNODEB" t4 ON t1.data->>'FILENAME' = t1.data->>'FILENAME' - INNER JOIN huawei_cm."UCNOPERATOR" t5 ON t5.data->>'FILENAME' = t1.data->>'FILENAME' -` - -export const HUAWEI_4G_KEY_PARAMAETERS = ` - SELECT - t1.data->>'DATETIME' AS "DATETIME", - t2.data->>'SYSOBJECTID' as "NENAME", - 'HUAWEI' AS "VENDOR", - '4G' AS "TECHNOLOGY", - '' AS "NEID", - t1.data->>'ENODEBFUNCTIONNAME' AS "SITENAME", - t4.data->>'ENODEBID' AS "SITEID", - t1.data->>'CELLNAME' AS "CELLNAME", - t1.data->>'CELLACTIVESTATE' AS "ACTSTATUS", - -- t1."ADMSTAT" AS "BLKSTATUS", - t5.data->>'MCC' AS "MCC", - t5.data->>'MNC' AS "MNC", - t6.data->>'TAC' AS "TAC", - t1.data->>'CELLID' AS "CI", - t1.data->>'PHYCELLID' AS "PCI", - t1.data->>'DLBANDWIDTH' AS "UARFCNDOWNLINK", - t1.data->>'DLEARFCN' AS "DLF", - t1.data->>'ULEARFCN' AS "ULF", - CONCAT(t5.data->>'MCC', '-', t5.data->>'MNC', '-', t4.data->>'ENODEBID', '-', t1.data->>'LOCALCELLID') AS "CGI_RAW", - CONCAT(t5.data->>'MCC', '-', t5.data->>'MNC', '-', LPAD(t4.data->>'ENODEBID',5,'0'), '-', t1.data->>'LOCALCELLID') AS "CGI" - FROM huawei_cm."CELL" t1 - INNER JOIN huawei_cm."SYS" t2 ON t1.data->>'FILENAME' = t2.data->>'FILENAME' - INNER JOIN huawei_cm."ENODEBFUNCTION" t4 ON t4.data->>'FILENAME' = t1.data->>'FILENAME' - INNER JOIN huawei_cm."CNOPERATOR" t5 ON t5.data->>'FILENAME' = t1.data->>'FILENAME' - INNER JOIN huawei_cm."CNOPERATORTA" t6 ON t6.data->>'FILENAME' = t1.data->>'FILENAME' - -` \ No newline at end of file diff --git a/src/services/postgresql/NetworkEntities.js b/src/services/postgresql/NetworkEntities.js deleted file mode 100644 index 5b77e560..00000000 --- a/src/services/postgresql/NetworkEntities.js +++ /dev/null @@ -1,240 +0,0 @@ -export const NETWORK_CELLS = ` --- Ericsson 2G -SELECT - t1.data->>'DATETIME' AS "DATETIME", - 'ERICSSON' as "VENDOR", - '3G' AS "TECH", - t1.data->>'CI' AS "CELLID", - t1.data->>'CELL_NAME' AS "CELLNAME" -FROM ericsson_cm."INTERNAL_CELL" t1 -UNION --- Ericsson 3G Cells -SELECT - t1.data->>'DATETIME' AS "DATETIME", - 'ERICSSON' as "VENDOR", - '3G' AS "TECH", - t1.data->>'cId' AS "CELLID", - t1.data->>'userLabel' AS "CELLNAME" -FROM ericsson_cm."UtranCell" t1 -UNION --- Ericsson 4G -SELECT - t1.data->>'DATETIME' AS "DATETIME", - 'ERICSSON' as "VENDOR", - '4G' AS "TECH", - -- (256 * (t1.data->>'ENODEBID')::INTEGER + (t1.data->>'CellID')::INTEGER)::text AS "CELLID", - t1.data->>'cellId' AS "CELLID", - t1.data->>'EUtranCellFDD_id' AS "CELLNAME" -FROM - ericsson_cm."EUtranCellFDD" t1 -UNION --- Huawei 2G -SELECT - t1.data->>'DATETIME' AS "DATETIME", - 'HUAWEI' as "VENDOR", - '2G' AS "TECH", - t1.data->>'CI' AS "CELLID", - t1.data->>'CELLNAME' AS "CELLNAME" -FROM - huawei_cm."GCELL" t1 -UNION --- Huawei 3G Cells -SELECT - t1.data->>'DATETIME' AS "DATETIME", - 'HUAWEI' as "VENDOR", - '3G' AS "TECH", - t1.data->>'CELLID' AS "CELLID", - t1.data->>'CELLNAME' AS "CELLNAME" -FROM -huawei_cm."UCELL" t1 -UNION --- Huawei 4G Cells -SELECT - t1.data->>'DATETIME' AS "DATETIME", - 'HUAWEI' as "VENDOR", - '4G' AS "TECH", - t1.data->>'CELLID' AS "CELLID", - t1.data->>'CELLNAME' AS "CELLNAME" -FROM -huawei_cm."CELL" t1 -UNION --- ZTE 2G Cells -SELECT - t1.data->>'DATETIME' AS "DATETIME", - 'ZTE' as "VENDOR", - '2G' AS "TECH", - t1.data->>'GsmCell_id' AS "CELLID", - t1.data->>'userLabel' AS "CELLNAME" -FROM -zte_cm."GsmCell" t1 -UNION --- ZTE 3G Cells -SELECT - t1.data->>'varDateTime' AS "DATE TIME", - 'ZTE' as "VENDOR", - '3G' AS "TECH", - t1.data->>'cid' AS "CELLID", - t1.data->>'userLabel' AS "CELLNAME" -FROM -zte_cm."UtranCellFDD" t1 -UNION --- ZTE 4G Cells -SELECT - t1.data->>'varDateTime' AS "DATE TIME", - 'ZTE' as "VENDOR", - '4G' AS "TECH", - t1.data->>'cId' AS "CELLID", - t1.data->>'userLabel' AS "CELLNAME" -FROM -zte_cm."EUtranCellFDD" t1 -UNION --- Nokia 2G Cells -SELECT - t1.data->>'DATETIME' AS "DATETIME", - 'NOKIA' as "VENDOR", - '2G' AS "TECH", - t1.data->>'cellId' AS "CELLID", - t1.data->>'name' AS "CELLNAME" - -FROM nokia_cm."BTS" t1 -UNION --- Nokia 3G Cells -SELECT - t1.data->>'DATETIME' AS "DATETIME", - 'NOKIA' as "VENDOR", - '3G' AS "TECH", - t1.data->>'CId' AS "CELLID", - t1.data->>'name' AS "CELLNAME" - -FROM nokia_cm."WCEL" t1 -UNION --- Nokia 4G Cells -SELECT - t1.data->>'DATETIME' AS "DATETIME", - 'NOKIA' as "VENDOR", - '4G' AS "TECH", - t1.data->>'phyCellId' AS "CELLID", - t1.data->>'name' AS "CELLNAME" - -FROM nokia_cm."LNBTS" t1 - -` - -export const NETWORK_SITES = ` --- Ericsson 2G Sites -SELECT - 'ERICSSON' as "VENDOR", - '2G' AS "TECH", - t1.data->>'SITE_NAME' AS "SITENAME" -from ericsson_cm."SITE" t1 -UNION --- Ericsson 3G Sites -SELECT - 'ERICSSON' as "VENDOR", - '3G' AS "TECH", -t1.data->>'MeContext_id' AS "SITENAME" -FROM -ericsson_cm."NodeBFunction" t1 -UNION --- Ericsson 4G -SELECT - 'ERICSSON' as "VENDOR", - '4G' AS "TECH", - t1.data->>'MeContext_id' AS "SITENAME" -FROM ericsson_cm."ENodeBFunction" t1 -UNION --- Huawei 4G - SELECT - 'HUAWEI' as "VENDOR", - '4G' AS "TECH", - t1.data->>'ENODEBFUNCTIONNAME' AS "SITENAME" - FROM - huawei_cm."ENODEBFUNCTION" t1 - -- Huawei 2G - UNION - SELECT - 'HUAWEI' as "VENDOR", - '4G' AS "TECH", - t1.data->>'BTSNAME' AS "SITENAME" -from huawei_cm."BTS" t1 -UNION --- Huawei 3G -SELECT - 'HUAWEI' as "VENDOR", - '3G' AS "TECH", - t1.data->>'NODEBNAME' AS "SITENAME" -from huawei_cm."UNODEB" t1 -UNION --- ZTE 4G - SELECT - 'ZTE' as "VENDOR", - '4G' AS "TECH", - t1.data->>'userLabel' AS "SITENAME" - FROM - zte_cm."ENBFunction" t1 -UNION - -- ZTE 2G - SELECT - 'ZTE' as "VENDOR", - '2G' AS "TECH", -t1.data->>'userLabel' AS "SITENAME" -from zte_cm."BtsSiteManager" t1 -UNION --- ZTE 3G -SELECT - 'ZTE' as "VENDOR", - '3G' AS "TECH", - t1.data->>'userLabel' AS "SITENAME" -from zte_cm."NodeBFunction" t1 -UNION --- Nokia 4G - SELECT - 'NOKIA' as "VENDOR", - '4G' AS "TECH", - TRIM(t1.data->>'name') AS "SITENAME" - FROM - nokia_cm."LNBTS" t1 - UNION - -- Nokia 2G - SELECT - 'NOKIA' as "VENDOR", - '2G' AS "TECH", - CONCAT(TRIM(t1.data->>'name'),'(',TRIM(t1.data->>'lapdLinkName'),')') AS "SITENAME" -FROM nokia_cm."BCF" t1 -UNION --- Nokia 3G -SELECT - 'NOKIA' as "VENDOR", - '3G' AS "TECH", - TRIM(t1.data->>'name' ) AS "SITENAME" -FROM -nokia_cm."WBTS" t1 -` - -export const NETWORK_NODES = ` -SELECT - 'HUAWEI' AS "VENDOR", - t1.data->>'SYSOBJECTID' as "NODENAME" -FROM huawei_cm."SYS" t1 -UNION -SELECT - 'NOKIA' AS "VENDOR", - t1.data->>'name' as "NODENAME" -FROM nokia_cm."BSC" t1 -UNION -SELECT - 'NOKIA' AS "VENDOR", - t1.data->>'name' as "NODENAME" -from nokia_cm."RNC" t1 -UNION -SELECT - 'ZTE' as "VENDOR", - t1.data->>'userLabel' AS "NODENAME" -FROM zte_cm."SubNetwork_2" t1 -UNION -SELECT - 'ERICSSON' AS "VENDOR", - t1.data->>'MeContext_id' AS "SITENAME" -FROM ericsson_cm."RncFunction" t1 - -` \ No newline at end of file diff --git a/src/services/postgresql/NokiaKeyParametersQueries.js b/src/services/postgresql/NokiaKeyParametersQueries.js deleted file mode 100644 index 77e0b8b3..00000000 --- a/src/services/postgresql/NokiaKeyParametersQueries.js +++ /dev/null @@ -1,68 +0,0 @@ -//eslint-disable-next-line -export const NOKIA_2G_KEY_PARAMAETERS = ` -SELECT - t1.data->>'DATETIME' AS "DATETIME", - CONCAT(TRIM(t1.data->>'name'),'(',TRIM(t1.data->>'cellId'), ')') AS name, - t1.data->>'cellId' AS ci, - t1.data->>'bsIdentityCodeBCC' AS bcc, - t1.data->>'bsIdentityCodeNCC' AS ncc, - CONCAT(TRIM(t1.data->>'bsIdentityCodeNCC'), TRIM(t1.data->>'bsIdentityCodeBCC')) AS bsic, - t2.data->>'initialFrequency' AS bcch, - t1.data->>'locationAreaIdLAC' AS lac, - CONCAT( TRIM(t1.data->>'locationAreaIdMCC'),'-', TRIM(t1.data->>'locationAreaIdMNC'),'-',TRIM(t1.data->>'locationAreaIdLAC'),'-',TRIM(t1.data->>'cellId')) AS cgi, - t1.data->>'angle' AS azimuth, - t1.data->>'hoppingSequenceNumber1' AS hsn, - t1.data->>'hoppingMode' AS "hoppingType", - t1.data->>'locationAreaIdMCC' as mcc, - t1.data->>'locationAreaIdMNC' as mnc -FROM nokia_cm."BTS" t1 -INNER JOIN nokia_cm."TRX" t2 ON - t1.data->>'DISTNAME' = SUBSTRING(t2.data->>'DISTNAME', '.*BTS-\\d+') -INNER JOIN nokia_cm."BCF" t3 ON - t3.data->>'FILENAME' = t1.data->>'FILENAME' - AND CONCAT(TRIM(t3.data->>'DISTNAME'), '/BTS-',TRIM(t1.data->>'segmentId')) = TRIM(t1.data->>'DISTNAME') -WHERE - TRIM(t2.data->>'preferredBcchMark') = 'The TRX is a preferred TRX (P)' -` - -//eslint-disable-next-line -export const NOKIA_3G_KEY_PARAMAETERS = ` -SELECT - t1.data->>'DATETIME' AS "DATETIME", - t1.data->>'CId' AS "CId", - t1.data->>'LAC' AS lac, - t1.data->>'PtxCellMax' AS "maxTxPower", - t1.data->>'name' AS "cellName", - t1.data->>'PtxPrimaryCPICH' AS "cpichPower", - t1.data->>'PtxPrimarySCH' AS "primarySchPower", - t1.data->>'PriScrCode' AS "psc", - t1.data->>'RAC' as "rac", - t1.data->>'SAC' AS "sac", - t1.data->>'PtxSecSCH' AS "secondarySchPower", - t1.data->>'UARFCN' AS "uarfcnDl", - t1.data->>'URAId' AS ura , - t1.data->>'WCELMCC' AS mcc, - t1.data->'WCELMNC' AS mnc, - t1.data->>'URAId' AS ura, - t1.data->>'CId' AS ci -FROM nokia_cm."WCEL" t1 -INNER JOIN nokia_cm."WBTS" t2 ON - t2.data->>'FILENAME' = t1.data->>'FILENAME' - AND TRIM(t2.data->>'DISTNAME') = SUBSTRING(t1.data->>'DISTNAME','.*WBTS-\\d+') -` - -//eslint-disable-next-line -export const NOKIA_4G_KEY_PARAMAETERS = ` -SELECT - t1.data->>'DATETIME' AS "DATETIME", - TRIM(t1.data->>'name') AS "name", - t1.data->>'earfcnUL' AS "uarfcnDl", - t1.data->>'mcc' AS mcc, - t1.data->>'mnc' AS mnc, - t1.data->>'tac' AS tac, - t1.data->>'phyCellId' AS pci, - t1.data->>'rootSeqIndex' AS "rachRootSequence", - t1.data->>'altitude' AS height, - t1.data->'dlChBw' AS "dlBandwidth" -FROM nokia_cm."LNCEL" t1 -` diff --git a/src/services/postgresql/ZTEKeyParametersQueries.js b/src/services/postgresql/ZTEKeyParametersQueries.js deleted file mode 100644 index 29f414e8..00000000 --- a/src/services/postgresql/ZTEKeyParametersQueries.js +++ /dev/null @@ -1,63 +0,0 @@ -export const ZTE_2G_KEY_PARAMAETERS = ` -SELECT - t1.data->'userLabel' AS name, - t1.data->'cellIdentity' AS ci, - t1.data->'bcc' AS bcc, - t1.data->'ncc' AS ncc, - CONCAT(trim(t1.data->>'ncc'),trim(t1.data->>'bcc')) AS bsic, - t1.data->>'bcchFrequency' AS bcch, - t1.data->>'lac' AS lac, - t1.data->>'Latitude' AS latitude, - t1.data->>'Longitude' as longitude , - CONCAT( TRIM(t1.data->>'mcc'),'-', TRIM(t1.data->>'mnc'),'-',TRIM(t1.data->>'lac'),'-',TRIM(t1.data->>'cellIdentity')) AS cgi, - t1.data->>'mcc' as mcc, - t1.data->>'mnc' as mnc, - t1.data->>'altitude' AS height -FROM zte_cm."GsmCell" t1 - -` - -export const ZTE_3G_KEY_PARAMAETERS = ` -SELECT - t1.data->>'varDateTime' AS "DATETIME", - t1.data->>'bchPower' AS "bchPower", - t1.data->>'cid' as ci, - t1.data->>'refULocationArea' AS "lac", - ((t1.data->>'anteLatitude')::float/93206.76)*(-1::float*(t1.data->>'anteLatitudeSign')::float) AS "latitude", - (t1.data->>'anteLongitude')::float/46603.38 as longitude, - t1.data->>'maximumTransmissionPower' AS "maxTxPower", - t1.data->>'primaryCpichPower' AS "cpichPower", - t1.DATA->>'primarySchPower' AS "primarySchPower", - t1.data->>'primaryScramblingCode' AS psc, - t1.data->>'refURoutingArea' AS rac, - t1.data->>'sac' AS sac, - t1.data->>'secondarySchPower' AS "secondarySchPower", - t1.data->>'uarfcnDl' AS "uarfcnDl", - t1.data->>'uarfcnUl' AS "uarfcnUl", - t1.data->>'uraList' AS ura, - t1.data->>'altitude' AS "altitude", - t2.data->>'mcc' AS mcc, - t2.data->>'mnc' AS mnc, - t1.data->>'localCellId' AS "localcellid" -FROM zte_cm."UtranCellFDD" t1 -INNER JOIN zte_cm."LogicalCell" t2 on t2.data->>'MEID' = t1.data->>'MEID' - AND t2.data->>'rncid' = t1.data->>'rncid' - AND t2.data->>'cid' = t1.data->>'cid' - -` - -export const ZTE_4G_KEY_PARAMAETERS = ` -SELECT - t1.data->>'DATETIME' AS "DATETIME", - t1.data->>'EUtranCellFDD_id' as name, - t1.data->>'earfcnDl' as "earfcnDl", - t1.data->>'earfcnUl' as "earfcnUl", - t1.data->>'tac' as "tac", - t1.data->>'pci' as "pci", - ((t1.data->>'latitude')::float/93206.76)*(-1::float) as latitude, - (t1.data->>'longitude')::float/46603.38 as longitude, - t1.data->>'bandWidthDl' as "bandWidthDl", - t1.data->>'bandWidthUl' as "bandWidthUl", - t1.data->>'cellRadius' as "cellRadius" -FROM zte_cm."EUtranCellFDD" t1 -` diff --git a/src/version.js b/src/version.js index 36513bf8..0c26c817 100644 --- a/src/version.js +++ b/src/version.js @@ -1,3 +1,3 @@ -export const VERSION = "0.2.3"; +export const VERSION = "0.3.0"; export default VERSION; \ No newline at end of file diff --git a/yarn.lock b/yarn.lock index e09fd7ab..031cbd61 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1614,6 +1614,21 @@ resolved "https://registry.yarnpkg.com/@types/node/-/node-8.10.48.tgz#e385073561643a9ba6199a1985ffc03530f90781" integrity sha512-c35YEBTkL4rzXY2ucpSKy+UYHjUBIIkuJbWYbsGIrKLEWU5dgJMmLkkIb3qeC3O3Tpb1ZQCwecscvJTDjDjkRw== +"@types/pg-types@*": + version "1.11.4" + resolved "https://registry.yarnpkg.com/@types/pg-types/-/pg-types-1.11.4.tgz#8d7c59fb509ce3dca3f8bae589252051c639a9a8" + integrity sha512-WdIiQmE347LGc1Vq3Ki8sk3iyCuLgnccqVzgxek6gEHp2H0p3MQ3jniIHt+bRODXKju4kNQ+mp53lmP5+/9moQ== + dependencies: + moment ">=2.14.0" + +"@types/pg@^7.4.0": + version "7.4.14" + resolved "https://registry.yarnpkg.com/@types/pg/-/pg-7.4.14.tgz#8235910120e81ca671e0e62b7de77d048b9a22b2" + integrity sha512-2e4XapP9V/X42IGByC5IHzCzHqLLCNJid8iZBbkk6lkaDMvli8Rk62YE9wjGcLD5Qr5Zaw1ShkQyXy91PI8C0Q== + dependencies: + "@types/node" "*" + "@types/pg-types" "*" + "@types/q@^1.5.1": version "1.5.2" resolved "https://registry.yarnpkg.com/@types/q/-/q-1.5.2.tgz#690a1475b84f2a884fd07cd797c00f5f31356ea8" @@ -2153,11 +2168,6 @@ ansistyles@~0.1.3: resolved "https://registry.yarnpkg.com/ansistyles/-/ansistyles-0.1.3.tgz#5de60415bda071bb37127854c864f41b23254539" integrity sha1-XeYEFb2gcbs3EnhUyGT0GyMlRTk= -any-promise@^1.0.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/any-promise/-/any-promise-1.3.0.tgz#abc6afeedcea52e809cdc0376aed3ce39635d17f" - integrity sha1-q8av7tzqUugJzcA3au0845Y10X8= - anymatch@^1.3.0: version "1.3.2" resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-1.3.2.tgz#553dcb8f91e3c889845dfdba34c77721b90b9d7a" @@ -2222,11 +2232,6 @@ app-builder-lib@20.39.0, app-builder-lib@~20.39.0: semver "^5.6.0" temp-file "^3.3.2" -app-root-path@^2.0.1: - version "2.2.1" - resolved "https://registry.yarnpkg.com/app-root-path/-/app-root-path-2.2.1.tgz#d0df4a682ee408273583d43f6f79e9892624bc9a" - integrity sha512-91IFKeKk7FjfmezPKkwtaRvSpnUc4gDwPAjA1YZ9Gn0q0PPeW+vbeUsZuyDwjI7+QTHhcLen2v25fi/AmhvbJA== - aproba@^1.0.3, aproba@^1.1.1, aproba@^1.1.2: version "1.2.0" resolved "https://registry.yarnpkg.com/aproba/-/aproba-1.2.0.tgz#6802e6264efd18c790a1b0d517f0f2627bf2c94a" @@ -3958,7 +3963,7 @@ chainsaw@~0.1.0: dependencies: traverse ">=0.3.0 <0.4" -chalk@2.4.2, chalk@^2.0.0, chalk@^2.0.1, chalk@^2.1.0, chalk@^2.3.0, chalk@^2.4.1, chalk@^2.4.2: +chalk@2.4.2, chalk@^2.0.0, chalk@^2.0.1, chalk@^2.1.0, chalk@^2.4.1, chalk@^2.4.2: version "2.4.2" resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ== @@ -3967,7 +3972,7 @@ chalk@2.4.2, chalk@^2.0.0, chalk@^2.0.1, chalk@^2.1.0, chalk@^2.3.0, chalk@^2.4. escape-string-regexp "^1.0.5" supports-color "^5.3.0" -chalk@^1.1.1, chalk@^1.1.3: +chalk@^1.1.3: version "1.1.3" resolved "https://registry.yarnpkg.com/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98" integrity sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg= @@ -4178,17 +4183,6 @@ cli-cursor@^2.1.0: dependencies: restore-cursor "^2.0.0" -cli-highlight@^2.0.0: - version "2.1.1" - resolved "https://registry.yarnpkg.com/cli-highlight/-/cli-highlight-2.1.1.tgz#2180223d51618b112f4509cf96e4a6c750b07e97" - integrity sha512-0y0VlNmdD99GXZHYnvrQcmHxP8Bi6T00qucGgBgGv4kJ0RyDthNnnFPupHV7PYv/OXSVk+azFbOeaW6+vGmx9A== - dependencies: - chalk "^2.3.0" - highlight.js "^9.6.0" - mz "^2.4.0" - parse5 "^4.0.0" - yargs "^13.0.0" - cli-spinners@^2.0.0: version "2.1.0" resolved "https://registry.yarnpkg.com/cli-spinners/-/cli-spinners-2.1.0.tgz#22c34b4d51f573240885b201efda4e4ec9fff3c7" @@ -4568,6 +4562,13 @@ config-chain@^1.1.12: ini "^1.3.4" proto-list "~1.2.1" +config@>=1.0.0: + version "3.2.2" + resolved "https://registry.yarnpkg.com/config/-/config-3.2.2.tgz#c7d31bb2a9d30013a905ff420101e3b1ba58eead" + integrity sha512-rOsfIOAcG82AWouK4/vBS/OKz3UPl2T/kP0irExmXJJOoWg2CmdfPLdx56bCoMUMFNh+7soQkQWCUC8DyemiwQ== + dependencies: + json5 "^1.0.1" + configstore@^3.0.0: version "3.1.2" resolved "https://registry.yarnpkg.com/configstore/-/configstore-3.1.2.tgz#c6f25defaeef26df12dd33414b001fe81a543f8f" @@ -5821,6 +5822,11 @@ dotenv@6.2.0, dotenv@^6.2.0: resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-6.2.0.tgz#941c0410535d942c8becf28d3f357dbd9d476064" integrity sha512-HygQCKUBSFl8wKQZBSemMywRWcEDNidvNbjGVyZu3nbZ8qq9ubiPoGLMdRDpfSrpkkm9BXYFkpKxxFX38o/76w== +dotenv@>=1.0.0: + version "8.0.0" + resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-8.0.0.tgz#ed310c165b4e8a97bb745b0a9d99c31bda566440" + integrity sha512-30xVGqjLjiUOArT4+M5q9sYdvuR4riM6yK9wMcas9Vbp6zZa+ocC9dp6QoftuhTPhFAiLK/0C5Ni2nou/Bk8lg== + dotenv@^5.0.1: version "5.0.1" resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-5.0.1.tgz#a5317459bd3d79ab88cff6e44057a6a3fbb1fcef" @@ -6988,11 +6994,6 @@ figgy-pudding@^3.4.1, figgy-pudding@^3.5.1: resolved "https://registry.yarnpkg.com/figgy-pudding/-/figgy-pudding-3.5.1.tgz#862470112901c727a0e495a80744bd5baa1d6790" integrity sha512-vNKxJHTEKNThjfrdJwHc7brvM6eVevuO5nTj6ez8ZQ1qbXTvGthucRF7S4vf2cr71QVnT70V34v0S1DyQsti0w== -figlet@^1.1.1: - version "1.2.3" - resolved "https://registry.yarnpkg.com/figlet/-/figlet-1.2.3.tgz#7d25df546f41fc411c2a8b88012d48d55de72129" - integrity sha512-+F5zdvZ66j77b8x2KCPvWUHC0UCKUMWrewxmewgPlagp3wmDpcrHMbyv/ygq/6xoxBPGQA+UJU3SMoBzKoROQQ== - figures@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/figures/-/figures-2.0.0.tgz#3ab1a2d2a62c8bfb431a0c94cb797a2fce27c962" @@ -8480,11 +8481,6 @@ hex-color-regex@^1.1.0: resolved "https://registry.yarnpkg.com/hex-color-regex/-/hex-color-regex-1.1.0.tgz#4c06fccb4602fe2602b3c93df82d7e7dbf1a8a8e" integrity sha512-l9sfDFsuqtOqKDsQdqrMRk0U85RZc0RtOR9yPI7mRVOa4FsR/BVnZ0shmQRM96Ji99kYZP/7hn1cedc1+ApsTQ== -highlight.js@^9.6.0: - version "9.15.8" - resolved "https://registry.yarnpkg.com/highlight.js/-/highlight.js-9.15.8.tgz#f344fda123f36f1a65490e932cf90569e4999971" - integrity sha512-RrapkKQWwE+wKdF73VsOa2RQdIoO3mxwJ4P8mhbI6KYJUraUHRKM5w5zQQKXNk0xNL4UVRdulV9SBJcmzJNzVA== - hmac-drbg@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/hmac-drbg/-/hmac-drbg-1.0.1.tgz#d2745701025a6c775a6c545793ed502fc0c649a1" @@ -10499,11 +10495,31 @@ lcid@^2.0.0: dependencies: invert-kv "^2.0.0" -leaflet-semicircle@^2.0.2: +leaflet-contextmenu@^1.4.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/leaflet-contextmenu/-/leaflet-contextmenu-1.4.0.tgz#e2bda481af1026080eabaa32997e531fd44f605c" + integrity sha1-4r2kga8QJggOq6oymX5TH9RPYFw= + +leaflet-fullscreen@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/leaflet-fullscreen/-/leaflet-fullscreen-1.0.2.tgz#09c61c4bac45f63b2ee126afd87e5cd97650fc1b" + integrity sha1-CcYcS6xF9jsu4Sav2H5c2XZQ/Bs= + +leaflet-semicircle@^2.0.2, leaflet-semicircle@^2.0.4: version "2.0.4" resolved "https://registry.yarnpkg.com/leaflet-semicircle/-/leaflet-semicircle-2.0.4.tgz#2c6e7d40cb59bb331d25edd4dd355c64afa2428e" integrity sha512-7FV9kGBMSQ1CNZYPxoPCEVpDpiIoh/owZV91BWUKYFik5WuaYij0zGEWOE0elTUlRyTHFJHW4rNfQJ2fqreqnA== +leaflet.icon.glyph@^0.2.1: + version "0.2.1" + resolved "https://registry.yarnpkg.com/leaflet.icon.glyph/-/leaflet.icon.glyph-0.2.1.tgz#2e1bc790bc459c9a6d36ad50dbc5373ad9d44697" + integrity sha512-a4uT38ydOgmrMXmAtAdyNhAfdz5yiTBlVVfZ+SI6f+gPFzdROvAN8b+LgfjTlOU2Jjbq5XvPXI6QKMsxnob+kQ== + +leaflet@1.3.1: + version "1.3.1" + resolved "https://registry.yarnpkg.com/leaflet/-/leaflet-1.3.1.tgz#86f336d2fb0e2d0ff446677049a5dc34cf0ea60e" + integrity sha512-adQOIzh+bfdridLM1xIgJ9VnJbAUY3wqs/ueF+ITla+PLQ1z47USdBKUf+iD9FuUA8RtlT6j6hZBfZoA6mW+XQ== + leaflet@^1.3.3: version "1.4.0" resolved "https://registry.yarnpkg.com/leaflet/-/leaflet-1.4.0.tgz#d5f56eeb2aa32787c24011e8be4c77e362ae171b" @@ -10795,6 +10811,11 @@ lockfile@^1.0.4: dependencies: signal-exit "^3.0.2" +lodash-es@^4.0.0: + version "4.17.15" + resolved "https://registry.yarnpkg.com/lodash-es/-/lodash-es-4.17.15.tgz#21bd96839354412f23d7a10340e5eac6ee455d78" + integrity sha512-rlrc3yU3+JNOpZ9zj5pQtxnx2THmvRykwL4Xlxoa8I9lHBlVbbyPhgyPMioxVZ4NqyxaVVtaJnzsyOidQIhyyQ== + lodash-es@^4.2.1: version "4.17.11" resolved "https://registry.yarnpkg.com/lodash-es/-/lodash-es-4.17.11.tgz#145ab4a7ac5c5e52a3531fb4f310255a152b4be0" @@ -10943,6 +10964,11 @@ lodash@4.17.11, "lodash@>=3.5 <5", lodash@^4.0.1, lodash@^4.15.0, lodash@^4.17.1 resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.11.tgz#b39ea6229ef607ecd89e2c8df12536891cac9b8d" integrity sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg== +lodash@^4.0.0, lodash@~4.17.0: + version "4.17.15" + resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.15.tgz#b447f6670a0455bbfeedd11392eff330ea097548" + integrity sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A== + log-symbols@2.2.0, log-symbols@^2.2.0: version "2.2.0" resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-2.2.0.tgz#5740e1c5d6f0dfda4ad9323b5332107ef6b4c40a" @@ -11548,7 +11574,7 @@ module-deps@^4.0.2, module-deps@^4.0.8: through2 "^2.0.0" xtend "^4.0.0" -moment@^2.22.2: +moment@>=2.14.0, moment@^2.22.2: version "2.24.0" resolved "https://registry.yarnpkg.com/moment/-/moment-2.24.0.tgz#0d055d53f5052aa653c9f6eb68bb5d12bf5c2b5b" integrity sha512-bV7f+6l2QigeBBZSM/6yTNq4P2fNpSWj/0e7jQcy87A8e7o2nAfP/34/2ky5Vw4B9S446EtIhodAzkFCcR4dQg== @@ -11665,15 +11691,6 @@ mute-stream@~0.0.4: resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.8.tgz#1630c42b2251ff81e2a283de96a5497ea92e5e0d" integrity sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA== -mz@^2.4.0: - version "2.7.0" - resolved "https://registry.yarnpkg.com/mz/-/mz-2.7.0.tgz#95008057a56cafadc2bc63dde7f9ff6955948e32" - integrity sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q== - dependencies: - any-promise "^1.0.0" - object-assign "^4.0.1" - thenify-all "^1.0.0" - nan@^2.12.1: version "2.13.2" resolved "https://registry.yarnpkg.com/nan/-/nan-2.13.2.tgz#f51dc7ae66ba7d5d55e1e6d4d8092e802c9aefe7" @@ -11980,6 +11997,19 @@ node-notifier@^5.2.1: shellwords "^0.1.1" which "^1.3.0" +node-pg-migrate@^3.21.1: + version "3.21.1" + resolved "https://registry.yarnpkg.com/node-pg-migrate/-/node-pg-migrate-3.21.1.tgz#5b7b1661328106a28a53a5605a2897d4b83a5703" + integrity sha512-gTd8NquEcJjhkT96iwnch6DyAdZ9bhi+avdAvV4kPw/ya7T4OijUoSNVJzCodCG2kIjv+fjssnZHC/LzEQdewg== + dependencies: + "@types/pg" "^7.4.0" + lodash "~4.17.0" + mkdirp "~0.5.0" + yargs "~13.2.0" + optionalDependencies: + config ">=1.0.0" + dotenv ">=1.0.0" + node-pre-gyp@^0.11.0: version "0.11.0" resolved "https://registry.yarnpkg.com/node-pre-gyp/-/node-pre-gyp-0.11.0.tgz#db1f33215272f692cd38f03238e3e9b47c5dd054" @@ -12834,11 +12864,6 @@ parent-module@^1.0.0: dependencies: callsites "^3.0.0" -parent-require@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/parent-require/-/parent-require-1.0.0.tgz#746a167638083a860b0eef6732cb27ed46c32977" - integrity sha1-dGoWdjgIOoYLDu9nMssn7UbDKXc= - parenthesis@^3.1.5: version "3.1.6" resolved "https://registry.yarnpkg.com/parenthesis/-/parenthesis-3.1.6.tgz#47c7c72da3221fae11cdbbede2ed1bcb767e9fc1" @@ -12912,7 +12937,7 @@ parse-unit@^1.0.1: resolved "https://registry.yarnpkg.com/parse-unit/-/parse-unit-1.0.1.tgz#7e1bb6d5bef3874c28e392526a2541170291eecf" integrity sha1-fhu21b7zh0wo45JSaiVBFwKR7s8= -parse5@4.0.0, parse5@^4.0.0: +parse5@4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/parse5/-/parse5-4.0.0.tgz#6d78656e3da8d78b4ec0b906f7c08ef1dfe3f608" integrity sha512-VrZ7eOd3T1Fk4XWNXMgiGBK/z0MG48BWG2uQNU4I72fkQuKUTZpl+u9k+CxEG0twMVzSmXEEz12z5Fnw1jIQFA== @@ -14799,11 +14824,53 @@ react-grid-layout@^0.16.6: react-draggable "3.x" react-resizable "1.x" +react-icons@^3.7.0: + version "3.7.0" + resolved "https://registry.yarnpkg.com/react-icons/-/react-icons-3.7.0.tgz#64fe46231fabfeea27895edeae6c3b78114b8c8f" + integrity sha512-7MyPwjIhuyW0D2N3s4DEd0hGPGFf0sK+IIRKhc1FvSpZNVmnUoGvHbmAwzGJU+3my+fvihVWgwU5SDtlAri56Q== + dependencies: + camelcase "^5.0.0" + react-is@^16.6.0, react-is@^16.7.0, react-is@^16.8.1, react-is@^16.8.4, react-is@^16.8.6: version "16.8.6" resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.8.6.tgz#5bbc1e2d29141c9fbdfed456343fe2bc430a6a16" integrity sha512-aUk3bHfZ2bRSVFFbbeVS4i+lNPZr3/WM5jT2J5omUVV1zzcs1nAaf3l51ctA5FFvCRbhrH0bdAsRRQddFJZPtA== +react-leaflet-control@^2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/react-leaflet-control/-/react-leaflet-control-2.1.1.tgz#ed90006c9d285872a2788fe15c11fc30ad14cdb0" + integrity sha512-3fx4uSRFtDaFNa1yq62DCxdc9kR3Lk4V7R0lHqbKfPTEIOvPR7VFvk3xzcSnSB/0LAYO8R96Pwcs1c6knyL/Hw== + +react-leaflet-fullscreen-control@^0.0.4: + version "0.0.4" + resolved "https://registry.yarnpkg.com/react-leaflet-fullscreen-control/-/react-leaflet-fullscreen-control-0.0.4.tgz#b2543cb5306f8936f4db2e7de4184b90e7b2eabb" + integrity sha1-slQ8tTBviTb02y595BhLkOey6rs= + dependencies: + leaflet "1.3.1" + react "^16.3.2" + react-leaflet "^1.9.1" + +react-leaflet-semicircle@^2.0.5: + version "2.0.5" + resolved "https://registry.yarnpkg.com/react-leaflet-semicircle/-/react-leaflet-semicircle-2.0.5.tgz#af86bb0e7107a30ff7df6fd053b4dbc28a1f8ec3" + integrity sha512-aczcTmbgj6JrWY5y6+2fCIfOWhQa+Q84BM7Q2l8yi6/CBKlElL7f42RZJh9pGCjesRKu54eXKHZDLiVeWg6juw== + dependencies: + leaflet-semicircle "^2.0.4" + +react-leaflet-sidetabs@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/react-leaflet-sidetabs/-/react-leaflet-sidetabs-1.0.1.tgz#5bea3d1e5154a836a97a68b60b3fd4c8999e29e4" + integrity sha512-XXvIRFBf+vO7lYC+KCjhrdHkHROGloN9Om9S98TD7xwDEW9RmVo30jAYHCoicNEWguecpWogTS3xRrnMUxKV7w== + +react-leaflet@^1.9.1: + version "1.9.1" + resolved "https://registry.yarnpkg.com/react-leaflet/-/react-leaflet-1.9.1.tgz#0a282d8d26f66ea2d719ebb8f4a5fa156b33b8c8" + integrity sha512-QiYpjyf1DHy0gLAR2958Mo5Wlu2u7FubIjapPpuUAQNFmjkVSteiDLlEdDpGswTHTyNAfKLS+u9PqvfipMDZKA== + dependencies: + lodash "^4.0.0" + lodash-es "^4.0.0" + warning "^3.0.0" + react-leaflet@^2.0.0: version "2.2.1" resolved "https://registry.yarnpkg.com/react-leaflet/-/react-leaflet-2.2.1.tgz#c33974f518ffc8b3b7221f72e00c28963b95314d" @@ -14962,7 +15029,7 @@ react-transition-group@^2.2.1: prop-types "^15.6.2" react-lifecycles-compat "^3.0.4" -react@^16.8.6: +react@^16.3.2, react@^16.8.6: version "16.8.6" resolved "https://registry.yarnpkg.com/react/-/react-16.8.6.tgz#ad6c3a9614fd3a4e9ef51117f54d888da01f2bbe" integrity sha512-pC0uMkhLaHm11ZSJULfOBqV4tIZkx87ZLvbbQYunNixAAvjnC+snJCg0XQXn9VIsttVsbZP/H/ewzgsd5fxKXw== @@ -17435,20 +17502,6 @@ text-table@0.2.0, text-table@^0.2.0, text-table@~0.2.0: resolved "https://registry.yarnpkg.com/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4" integrity sha1-f17oI66AUgfACvLfSoTsP8+lcLQ= -thenify-all@^1.0.0: - version "1.6.0" - resolved "https://registry.yarnpkg.com/thenify-all/-/thenify-all-1.6.0.tgz#1a1918d402d8fc3f98fbf234db0bcc8cc10e9726" - integrity sha1-GhkY1ALY/D+Y+/I02wvMjMEOlyY= - dependencies: - thenify ">= 3.1.0 < 4" - -"thenify@>= 3.1.0 < 4": - version "3.3.0" - resolved "https://registry.yarnpkg.com/thenify/-/thenify-3.3.0.tgz#e69e38a1babe969b0108207978b9f62b88604839" - integrity sha1-5p44obq+lpsBCCB5eLn2K4hgSDk= - dependencies: - any-promise "^1.0.0" - throat@^4.0.0: version "4.1.0" resolved "https://registry.yarnpkg.com/throat/-/throat-4.1.0.tgz#89037cbc92c56ab18926e6ba4cbb200e15672a6a" @@ -17841,26 +17894,6 @@ typedarray@^0.0.6, typedarray@~0.0.5: resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c= -typeorm@^0.2.18: - version "0.2.18" - resolved "https://registry.yarnpkg.com/typeorm/-/typeorm-0.2.18.tgz#8ae1d21104117724af41ddc11035c40a705e1de8" - integrity sha512-S553GwtG5ab268+VmaLCN7gKDqFPIzUw0eGMTobJ9yr0Np62Ojfx8j1Oa9bIeh5p7Pz1/kmGabAHoP1MYK05pA== - dependencies: - app-root-path "^2.0.1" - buffer "^5.1.0" - chalk "^2.4.2" - cli-highlight "^2.0.0" - debug "^4.1.1" - dotenv "^6.2.0" - glob "^7.1.2" - js-yaml "^3.13.1" - mkdirp "^0.5.1" - reflect-metadata "^0.1.13" - tslib "^1.9.0" - xml2js "^0.4.17" - yargonaut "^1.1.2" - yargs "^13.2.1" - typescript@^3.4.5: version "3.4.5" resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.4.5.tgz#2d2618d10bb566572b8d7aad5180d84257d70a99" @@ -18505,6 +18538,13 @@ walker@^1.0.7, walker@~1.0.5: dependencies: makeerror "1.0.x" +warning@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/warning/-/warning-3.0.0.tgz#32e5377cb572de4ab04753bdf8821c01ed605b7c" + integrity sha1-MuU3fLVy3kqwR1O9+IIcAe1gW3w= + dependencies: + loose-envify "^1.0.0" + warning@^4.0.2, warning@^4.0.3: version "4.0.3" resolved "https://registry.yarnpkg.com/warning/-/warning-4.0.3.tgz#16e9e077eb8a86d6af7d64aa1e05fd85b4678ca3" @@ -19146,7 +19186,7 @@ xml-name-validator@^3.0.0: resolved "https://registry.yarnpkg.com/xml-name-validator/-/xml-name-validator-3.0.0.tgz#6ae73e06de4d8c6e47f9fb181f78d648ad457c6a" integrity sha512-A5CUptxDsvxKJEU3yO6DuWBSJz/qizqzJKOMIfUJHETbBw/sFaDxgd6fxm1ewUaM0jZ444Fc5vC5ROYurg/4Pw== -xml2js@0.4.19, xml2js@^0.4.17: +xml2js@0.4.19: version "0.4.19" resolved "https://registry.yarnpkg.com/xml2js/-/xml2js-0.4.19.tgz#686c20f213209e94abf0d1bcf1efaa291c7827a7" integrity sha512-esZnJZJOiJR9wWKMyuvSE1y6Dq5LCuJanqhxslH2bxM6duahNZ+HMpCLhBQGZkbX6xRf8x1Y2eJlgt2q3qo49Q== @@ -19222,15 +19262,6 @@ yallist@^3.0.0, yallist@^3.0.2: resolved "https://registry.yarnpkg.com/yallist/-/yallist-3.0.3.tgz#b4b049e314be545e3ce802236d6cd22cd91c3de9" integrity sha512-S+Zk8DEWE6oKpV+vI3qWkaK+jSbIK86pCwe2IF/xwIpQ8jEuxpw9NyaGjmp9+BoJv5FV2piqCDcoCtStppiq2A== -yargonaut@^1.1.2: - version "1.1.4" - resolved "https://registry.yarnpkg.com/yargonaut/-/yargonaut-1.1.4.tgz#c64f56432c7465271221f53f5cc517890c3d6e0c" - integrity sha512-rHgFmbgXAAzl+1nngqOcwEljqHGG9uUZoPjsdZEs1w5JW9RXYzrSvH/u70C1JE5qFi0qjsdhnUX/dJRpWqitSA== - dependencies: - chalk "^1.1.1" - figlet "^1.1.1" - parent-require "^1.0.0" - yargs-parser@13.0.0: version "13.0.0" resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-13.0.0.tgz#3fc44f3e76a8bdb1cc3602e860108602e5ccde8b" @@ -19357,7 +19388,7 @@ yargs@^12.0.1, yargs@^12.0.2, yargs@^12.0.5: y18n "^3.2.1 || ^4.0.0" yargs-parser "^11.1.1" -yargs@^13.0.0: +yargs@~13.2.0: version "13.2.4" resolved "https://registry.yarnpkg.com/yargs/-/yargs-13.2.4.tgz#0b562b794016eb9651b98bd37acf364aa5d6dc83" integrity sha512-HG/DWAJa1PAnHT9JAhNa8AbAv3FPaiLzioSjCcmuXXhP8MlpHO5vwls4g4j6n30Z74GVQj8Xa62dWVx1QCGklg==