Add MCU report template mapping flow
This commit is contained in:
14
scripts/sql/2026-04-29_create_mgm_mcureport.sql
Normal file
14
scripts/sql/2026-04-29_create_mgm_mcureport.sql
Normal file
@@ -0,0 +1,14 @@
|
||||
CREATE TABLE IF NOT EXISTS `mgm_mcureport` (
|
||||
`Mgm_McuReportID` int NOT NULL AUTO_INCREMENT,
|
||||
`Mgm_McuReportMgm_McuID` int NOT NULL,
|
||||
`Mgm_McuReportMcu_ReportUrlTemplateID` int NOT NULL,
|
||||
`Mgm_McuReportIsActive` char(1) NOT NULL DEFAULT 'Y',
|
||||
`Mgm_McuReportCreated` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
`Mgm_McuReportCreatedUserID` int NOT NULL DEFAULT '0',
|
||||
`Mgm_McuReportLastUpdated` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
`Mgm_McuReportLastUpdatedUserID` int NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (`Mgm_McuReportID`),
|
||||
UNIQUE KEY `uk_mcu_report` (`Mgm_McuReportMgm_McuID`),
|
||||
KEY `idx_template` (`Mgm_McuReportMcu_ReportUrlTemplateID`),
|
||||
KEY `idx_active` (`Mgm_McuReportIsActive`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
||||
Reference in New Issue
Block a user