I have the following settings in .env When I run Everything seems to be ok. But when I look at my target database “unwa”, it is empty. A die and dump revealed, that I was connected to another database “auction” that happens to be the first (alphabetically) database. I find all my tables in the “auction” database. How can I
Tag: migrate
Method IlluminateDatabaseSchemaBlueprint::unsignedBidInteger does not exist
error in terminal C:xampphtdocslearninglaragonlavuedatabasemigrations2022_07_17_042348_create_transaction_details_table.php:18 IlluminateDatabaseSchemaBlueprint::__call() this my php migration }; When i put php artisan migration sees an error like above Answer There is a typo in your migration file on ‘transaction_id’ declaration. Your migration file should be like this. Check the line with the comment. Kindly read this.
mysql server has gone away error during installing migration (laravel)
So I am using my cmd on my laravel folder and I tried to do (php artisan migrate:install). 2 errors came up. [PDOException] SQLSTATE[HY000] [2006] MySQL server has gone away [ErrorException] PDO:…
Update table structure without rollback in Laravel 5.1
I am beginner in Laravel. I use migrate to create tables in a database, but I don’t want to migrate:rollback to update my table. I want to apply changes in my old database without loosing current …