Basically i want to get column listings and types I’m using $this->getConnection()->getSchemaBuilder()->getColumnListing(‘table’);
To get column listing and it’s working without any problem, however when i tried to get column type using
$this->getConnection()->getSchemaBuilder()->getColumnType(‘table’,’column’);
It didn’t work at first, then i installed dbal package now i am getting this error
Undefined index: COMMENTS Vendor\doctrine\dbal\lib\Doctrine\DBAL\Schema\OracleSchemaManager.php:402
I have no clue what’s wrong, comments is not anything in my db!!!
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/37er7ye
via IFTTT
Aucun commentaire:
Enregistrer un commentaire