Skip to content

Commit

Permalink
Update app/Providers/AppServiceProvider.php
Browse files Browse the repository at this point in the history
This fixes the index length issue for older mysql versions
  • Loading branch information
Hyleeh committed Nov 6, 2018
1 parent 0bc3ec2 commit 4af41c6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/Providers/AppServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ class AppServiceProvider extends ServiceProvider
*/
public function boot()
{
\Schema::defaultStringLength(191);

Account::observe(AccountObserver::class);
Transaction::observe(TransactionObserver::class);
Job::observe(JobObserver::class);
Expand Down

0 comments on commit 4af41c6

Please sign in to comment.