Skip to content

Commit

Permalink
Fix failing builds due to SQL changes
Browse files Browse the repository at this point in the history
  • Loading branch information
DaneEveritt committed Sep 25, 2017
1 parent bc0d0fd commit 55ae913
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/Providers/AppServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
use Cache;
use Pterodactyl\Models;
use Pterodactyl\Observers;
use Illuminate\Support\Facades\Schema;
use Illuminate\Support\ServiceProvider;

class AppServiceProvider extends ServiceProvider
Expand All @@ -37,6 +38,8 @@ class AppServiceProvider extends ServiceProvider
*/
public function boot()
{
Schema::defaultStringLength(191);

Models\User::observe(Observers\UserObserver::class);
Models\Server::observe(Observers\ServerObserver::class);
Models\Subuser::observe(Observers\SubuserObserver::class);
Expand Down

0 comments on commit 55ae913

Please sign in to comment.