Update: 2026-06-30 14:32:38

This commit is contained in:
Hamza-Ayed
2026-06-30 14:32:39 +03:00
parent ef0ee91fd9
commit 1f1a3385e3
2 changed files with 92 additions and 0 deletions

View File

@@ -1946,3 +1946,20 @@ CREATE TABLE IF NOT EXISTS `market_health_reports` (
PRIMARY KEY (`id`),
KEY `idx_country_date` (`country_code`, `report_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Table structure for table `scraped_competitor_prices`
--
CREATE TABLE IF NOT EXISTS `scraped_competitor_prices` (
`id` BIGINT UNSIGNED AUTO_INCREMENT PRIMARY KEY,
`task_id` varchar(100) DEFAULT NULL,
`app_name` varchar(100) NOT NULL,
`start_location` varchar(255) NOT NULL,
`end_location` varchar(255) NOT NULL,
`price_amount` decimal(8,2) NOT NULL,
`currency` varchar(10) NOT NULL DEFAULT 'JOD',
`scraped_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
KEY `idx_app_name` (`app_name`),
KEY `idx_start_location` (`start_location`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;