Add sendTime control for preregister email

This commit is contained in:
sas.fajri
2026-05-08 14:59:50 +07:00
parent 98ad7346fa
commit f9d3e0674b
5 changed files with 151 additions and 14 deletions

View File

@@ -5,6 +5,7 @@ CREATE TABLE IF NOT EXISTS `cpone`.`email_config_nofification` (
`Email_ConfigNofificationUsername` varchar(100) NOT NULL,
`Email_ConfigNofificationPassword` varchar(100) NOT NULL,
`Email_ConfigNofificationServer` varchar(100) NOT NULL,
`Email_ConfigNofificationSendTime` time NOT NULL DEFAULT '20:00:00',
`Email_ConfigNofificationCreated` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`Email_ConfigNofificationCreatedUserID` int NOT NULL DEFAULT '0',
`Email_ConfigNofificationLastUpdated` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
@@ -20,6 +21,7 @@ INSERT INTO `cpone`.`email_config_nofification` (
`Email_ConfigNofificationUsername`,
`Email_ConfigNofificationPassword`,
`Email_ConfigNofificationServer`,
`Email_ConfigNofificationSendTime`,
`Email_ConfigNofificationCreatedUserID`,
`Email_ConfigNofificationLastUpdatedUserID`,
`Email_ConfigNofificationIsActive`
@@ -30,6 +32,7 @@ SELECT
'',
'',
'',
'20:00:00',
0,
0,
'Y'