mirror of
https://github.com/brunofontes/shareit.git
synced 2025-02-20 14:14:42 +00:00
Including schema to avoid DB error on hostgator
This commit is contained in:
parent
a2d0bf6c15
commit
4e197ba846
@ -3,6 +3,7 @@
|
||||
namespace App\Providers;
|
||||
|
||||
use Illuminate\Support\ServiceProvider;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
class AppServiceProvider extends ServiceProvider
|
||||
{
|
||||
@ -13,6 +14,7 @@ class AppServiceProvider extends ServiceProvider
|
||||
*/
|
||||
public function boot()
|
||||
{
|
||||
Schema::defaultStringLength(191); //Solved by increasing StringLength
|
||||
//
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user