lib/Doctrine/DBAL/Platforms/MySqlPlatform.php 1 location
                
                
                    
                                                
                                                    
                                |  | @@ 280-287 (lines=8) @@ | 
                                                            
                                    | 277 |  |     /** | 
                                                            
                                    | 278 |  |      * {@inheritDoc} | 
                                                            
                                    | 279 |  |      */ | 
                                                            
                                    | 280 |  |     public function getDateTimeTypeDeclarationSQL(array $fieldDeclaration) | 
                                                            
                                    | 281 |  |     { | 
                                                            
                                    | 282 |  |         if (isset($fieldDeclaration['version']) && $fieldDeclaration['version'] == true) { | 
                                                            
                                    | 283 |  |             return 'TIMESTAMP'; | 
                                                            
                                    | 284 |  |         } | 
                                                            
                                    | 285 |  |  | 
                                                            
                                    | 286 |  |         return 'DATETIME'; | 
                                                            
                                    | 287 |  |     } | 
                                                            
                                    | 288 |  |  | 
                                                            
                                    | 289 |  |     /** | 
                                                            
                                    | 290 |  |      * {@inheritDoc} | 
                                                                        
                 
                                                            
                    
lib/Doctrine/DBAL/Platforms/DrizzlePlatform.php 1 location
                
                
                    
                                                
                                                    
                                |  | @@ 448-455 (lines=8) @@ | 
                                                            
                                    | 445 |  |     /** | 
                                                            
                                    | 446 |  |      * {@inheritDoc} | 
                                                            
                                    | 447 |  |      */ | 
                                                            
                                    | 448 |  |     public function getDateTimeTypeDeclarationSQL(array $fieldDeclaration) | 
                                                            
                                    | 449 |  |     { | 
                                                            
                                    | 450 |  |         if (isset($fieldDeclaration['version']) && $fieldDeclaration['version'] == true) { | 
                                                            
                                    | 451 |  |             return 'TIMESTAMP'; | 
                                                            
                                    | 452 |  |         } | 
                                                            
                                    | 453 |  |  | 
                                                            
                                    | 454 |  |         return 'DATETIME'; | 
                                                            
                                    | 455 |  |     } | 
                                                            
                                    | 456 |  |  | 
                                                            
                                    | 457 |  |     /** | 
                                                            
                                    | 458 |  |      * {@inheritDoc} |