- Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathScriptDBLogs.sql
More file actions
Latest commit
21 lines (20 loc) · 910 Bytes
/
Copy pathScriptDBLogs.sql
File metadata and controls
21 lines (20 loc) · 910 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
-- Dumping structure for table vmdb.tblLogs
DROPTABLE IF EXISTS `tblLogs`;
CREATETABLEIF NOT EXISTS `tblLogs` (
`dtTimestamp`timestampNOT NULL DEFAULT current_timestamp() ONUPDATEcurrent_timestamp(),
`vcScriptName`varchar(150) DEFAULT NULL,
`vcLogEntry`varchar(15000) DEFAULT NULL,
KEY `timestamp` (`dtTimestamp`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
-- Dumping structure for table vmdb.tblScriptExecuteList
DROPTABLE IF EXISTS `tblScriptExecuteList`;
CREATETABLEIF NOT EXISTS `tblScriptExecuteList` (
`iExecuteID`int(11) NOT NULL AUTO_INCREMENT,
`vcScriptName`varchar(150) NOT NULL,
`dtStartTime` datetime NOT NULL,
`dtStopTime` datetime DEFAULT NULL,
`iGMTOffset`int(11) DEFAULT NULL,
`bComplete`tinyint(4) DEFAULT 0,
`iRowsUpdated`int(11) DEFAULT NULL,
PRIMARY KEY (`iExecuteID`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4;