@php $isAdmin = false; if (auth()->user() && method_exists(auth()->user(), 'hasRole')) { $adminRoles = config('tyro-dashboard.admin_roles', ['admin', 'super-admin']); foreach ($adminRoles as $role) { if (auth()->user()->hasRole($role)) { $isAdmin = true; break; } } } $layoutType = $isAdmin ? 'admin' : 'user'; @endphp @extends('tyro-dashboard::layouts.' . $layoutType) @section('title', 'Migration Required') @section('breadcrumb') Dashboard / Migration Required @endsection @section('content')

Database Tables Missing

Please run migrations to set up the invitation system

Required Tables

invitation_links
invitation_referrals

Migration Options

Choose one of the following commands to create the required database tables:

1 Run all pending migrations
php artisan migrate
OR
2 Run only Tyro Login migrations
php artisan migrate --path=vendor/hasinhayder/tyro-login/database/migrations

After running the migrations successfully, refresh this page to access the invitation system.

Back to Dashboard
@endsection