Laravel 5 with Postgres SQL

前端 未结 7 1411
深忆病人
深忆病人 2020-12-31 02:56

I’m working on Laravel 5 with postgres as database. I’ve configured postgres 9.4 and pgAdmin III and these are working normally. When I try to run migrate it is giving me e

7条回答
  •  一整个雨季
    2020-12-31 03:20

    you gotta modify .env file , then go to config>database.php and change the default to pgsql, and also in all your models file you need to change $protected $connection= 'pgsql'.

提交回复
热议问题