Update: 2026-07-06 02:07:30

This commit is contained in:
Hamza-Ayed
2026-07-06 02:07:30 +03:00
parent 8d9126bb45
commit ac50598ee0
4 changed files with 22 additions and 3 deletions
+16
View File
@@ -0,0 +1,16 @@
<?php
require_once __DIR__ . '/../core/bootstrap.php';
try {
$con = Database::get('main');
} catch (Exception $e) {
die("Database connection failed\n");
}
$sql = "ALTER TABLE kazan ADD COLUMN startPrice varchar(10) NOT NULL DEFAULT '0' AFTER currency";
try {
$con->exec($sql);
echo "Successfully added startPrice to kazan table.\n";
} catch (PDOException $e) {
echo "Error adding column: " . $e->getMessage() . "\n";
}
+2 -1
View File
@@ -17,7 +17,8 @@ echo "Updating Kazan pricing for Jordan...\n";
// Update the kazan table where country is Jordan
$sql = "UPDATE kazan
SET speedPrice = '0.22',
SET startPrice = '0.35',
speedPrice = '0.22',
fixedPrice = '0.22',
awfarPrice = '0.19',
normalMinPrice = '0.05',