Fix: DB jisangs -> moty

This commit is contained in:
2018-08-22 17:25:07 +09:00
parent 5c0e823980
commit 6fcb459550
45 changed files with 141 additions and 183 deletions
@@ -35,7 +35,7 @@ function count_maestro_upgrade($maestroID) {
$query = "
SELECT COUNT(MaestroID)
FROM moty_maestro_upgrade
FROM maestro_upgrade
WHERE MaestroID = ?
";
$stmt = $db_conn->prepare($query);
@@ -53,7 +53,7 @@ function add_maestro_update($maestroID, $registeredAcountType, $newAccountType)
global $db_conn;
$query = "
INSERT INTO moty_maestro_upgrade (RegisteredAccountType, RequestedAccountType, RequestedDateTime, Status, MaestroID)
INSERT INTO maestro_upgrade (RegisteredAccountType, RequestedAccountType, RequestedDateTime, Status, MaestroID)
VALUES (?, ?, NOW(), 1, ?);
";
$stmt = $db_conn->prepare($query);