JeffreyWay / Laravel-Test-Helpers

Easier testing in Laravel.
https://packagist.org/packages/way/laravel-test-helpers
217 stars 40 forks source link

Reserved words in column names and double quotes #56

Open reedmaniac opened 10 years ago

reedmaniac commented 10 years ago

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.