Laravel-Test-Helpers
Laravel-Test-Helpers copied to clipboard
Reserved words in column names and double quotes
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.