質問編集履歴
1
テーブル構造追記
    
        title	
    CHANGED
    
    | 
         
            File without changes
         
     | 
    
        body	
    CHANGED
    
    | 
         @@ -43,4 +43,24 @@ 
     | 
|
| 
       43 
43 
     | 
    
         
             
            PHP:7.1.3
         
     | 
| 
       44 
44 
     | 
    
         
             
            CakePHP:3.4.11
         
     | 
| 
       45 
45 
     | 
    
         
             
            MySQL:5.7.17
         
     | 
| 
       46 
     | 
    
         
            -
            Nginx:1.10.2
         
     | 
| 
      
 46 
     | 
    
         
            +
            Nginx:1.10.2
         
     | 
| 
      
 47 
     | 
    
         
            +
             
     | 
| 
      
 48 
     | 
    
         
            +
            ### 追記
         
     | 
| 
      
 49 
     | 
    
         
            +
            該当テーブルは以下となります。
         
     | 
| 
      
 50 
     | 
    
         
            +
             
     | 
| 
      
 51 
     | 
    
         
            +
            ```
         
     | 
| 
      
 52 
     | 
    
         
            +
            CREATE TABLE `bookings` (
         
     | 
| 
      
 53 
     | 
    
         
            +
              `id` bigint(20) NOT NULL AUTO_INCREMENT,
         
     | 
| 
      
 54 
     | 
    
         
            +
              `car_id` bigint(20) NOT NULL,
         
     | 
| 
      
 55 
     | 
    
         
            +
              `parking_id` bigint(20) NOT NULL,
         
     | 
| 
      
 56 
     | 
    
         
            +
              `status` tinyint(2) NOT NULL,
         
     | 
| 
      
 57 
     | 
    
         
            +
              `start_date` datetime NOT NULL,
         
     | 
| 
      
 58 
     | 
    
         
            +
              `end_date` datetime NOT NULL,
         
     | 
| 
      
 59 
     | 
    
         
            +
              `checkin_date` datetime DEFAULT NULL,
         
     | 
| 
      
 60 
     | 
    
         
            +
              `checkout_date` datetime DEFAULT NULL,
         
     | 
| 
      
 61 
     | 
    
         
            +
              `cancel_date` datetime DEFAULT NULL,
         
     | 
| 
      
 62 
     | 
    
         
            +
              `created` datetime NOT NULL,
         
     | 
| 
      
 63 
     | 
    
         
            +
              `modified` datetime NOT NULL,
         
     | 
| 
      
 64 
     | 
    
         
            +
              PRIMARY KEY (`id`)
         
     | 
| 
      
 65 
     | 
    
         
            +
            ) ENGINE=InnoDB DEFAULT CHARSET=utf8
         
     | 
| 
      
 66 
     | 
    
         
            +
            ```
         
     |