Fix: trial maestro account

This commit is contained in:
jisangs committed 2022-07-03 01:06:12 +09:00
1 parent 9eec33cc49
commit 3d474b266c
22 files changed
+637 -101

No files matched your search

@@ -61,12 +61,20 @@ function register_maestro($maestroID) {
// SET ActivateStatus = 1, AvailableActivateDateTime = DATE_ADD(NOW(), INTERVAL 1 YEAR)
// WHERE MaestroID = ?
// ";
// closed beta
$query = "
UPDATE maestro
SET ActivateStatus = 1, AvailableActivateDateTime = '2022-07-31 23:59:59'
WHERE MaestroID = ?
";
// (07/17) before 2 weeks from closing beta service
// $query = "
// UPDATE maestro
// SET ActivateStatus = 1, AvailableActivateDateTime = DATE_ADD(NOW(), INTERVAL 14 DAY)
// WHERE MaestroID = ?
// ";
$stmt = $db_conn->prepare($query);
$stmt->bind_param("i", $maestroID);
$stmt->execute();