Fix: DB jisangs -> moty
This commit is contained in:
@@ -26,7 +26,7 @@ function upgrade_maestro($maestroID, $newAccountType) {
|
||||
global $db_conn;
|
||||
|
||||
$query = "
|
||||
UPDATE moty_maestro
|
||||
UPDATE maestro
|
||||
SET AccountType = ?, ActivateStatus = 1, AvailableActivateDateTime = DATE_ADD(NOW(), INTERVAL 1 YEAR)
|
||||
WHERE MaestroID = ?;
|
||||
";
|
||||
@@ -39,7 +39,7 @@ function change_upgrade_request_status_to_close($maestroID) {
|
||||
global $db_conn;
|
||||
|
||||
$query = "
|
||||
UPDATE moty_maestro_upgrade
|
||||
UPDATE maestro_upgrade
|
||||
SET Status = 2
|
||||
WHERE MaestroID = ? AND Status = 1;
|
||||
";
|
||||
@@ -52,7 +52,7 @@ function change_upgrade_request_status_to_applied($maestroUpgradeID) {
|
||||
global $db_conn;
|
||||
|
||||
$query = "
|
||||
UPDATE moty_maestro_upgrade
|
||||
UPDATE maestro_upgrade
|
||||
SET Status = 3
|
||||
WHERE MaestroUpgradeID = ?
|
||||
";
|
||||
|
||||
Reference in New Issue
Block a user