I have configured Laravel database config file to use postgres DB. First of all when I tried to run migration, I got error like
[PDOException]
SQLSTATE[42P01]: Undefined table: 7 ERROR: relation "sales_default_calculations" does not exist
LINE 1: select "id" from "sales_default_calculations" where "status"...
I moved all my migrations from database\migrations
folder to database\migrations_bak
and dropped the Database and created new one. I even created new Database with different name than before. However, I get same above error, when I run php artisan migrate
. Even though migration files and DB is cleared it's showing same old error message. What may have caused this anomaly? Please someone help.
via Flame