Laravel-Test-Helpers icon indicating copy to clipboard operation
Laravel-Test-Helpers copied to clipboard

Reserved words in column names and double quotes

Open reedmaniac opened this issue 11 years ago • 0 comments

I see that Factory::getColumns() is using the enum workaround for Doctrine and is also using listTableColumns(). listTableColumns will quote reserved words, so that the column name for 'primary' will come back as '"primary"'.

$schema_manager->listTableDetails($tableName)->getColumns(); does not seem to have this problem.

reedmaniac avatar Feb 25 '14 23:02 reedmaniac