uchenna Anya
Uchenna Anya
Published in
1 min readMay 18, 2019

--

Running Laravel on Windows 7

Laravel php framework

Let me start by saying running a laravel Project using Windows 7 can be frustrated. The tables your migration will create will not be complete, and that will frustrate the flow or behavior of your of your application

Today i am going to share with you the step by step way of solving this particular database migration problems in windows 7.

Below are the step by step process of solving this problem.

1) on your migration directory eg. database/migration/Userstable.

2) On your Userstable copy your Schema.

3) Navigate to app/Provider/AppserviceProvider.php, then paste the copied Schema you copied from Userstable. Finally look for the boot function of the Appserviceprovider.php, and write this. Schema::defaultStringLength(191);

Thanks for your time. i hope this was helpful.

--

--