| @@ -25,9 +25,9 @@ | ||
| 25 | 25 | * Table name without prefix |
| 26 | 26 | * |
| 27 | 27 | * @var string The base table name without WordPress prefix |
| 28 | 28 | */ |
| 29 | - protected static string $table = 'yatra_new_trips'; | |
| 29 | + protected static string $table = 'yatra_trips'; | |
| 30 | 30 | |
| 31 | 31 | /** |
| 32 | 32 | * Get the complete table schema as raw SQL CREATE TABLE statement |
| 33 | 33 | * |
| @@ -66,8 +66,9 @@ | ||
| 66 | 66 | -- DURATION & SCHEDULE (Form Fields) |
| 67 | 67 | `trip_type` varchar(50) DEFAULT 'multi_day', |
| 68 | 68 | `duration_days` smallint(5) UNSIGNED DEFAULT NULL COMMENT 'Total days', |
| 69 | 69 | `duration_nights` smallint(5) UNSIGNED DEFAULT NULL COMMENT 'Total nights', |
| 70 | + `duration_hours` smallint(5) UNSIGNED DEFAULT NULL COMMENT 'Duration in hours for hour-based single-day tours, NULL means day-based', | |
| 70 | 71 | `available_from` date DEFAULT NULL COMMENT 'First available date', |
| 71 | 72 | `available_to` date DEFAULT NULL COMMENT 'Last available date', |
| 72 | 73 | `booking_window_days` smallint(5) UNSIGNED DEFAULT 30 COMMENT 'Days in advance to book', |
| 73 | 74 | `booking_deadline_hours` smallint(5) UNSIGNED DEFAULT 24 COMMENT 'Hours before trip start', |