Skip to content

Instantly share code, notes, and snippets.

Fabrice Locher fabricecw

Block or report user

Report or block fabricecw

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
fabricecw / migration_permission_update_v1_to_v2.php
Last active Jun 4, 2019
Update spatie/laravel permission tables from V1 to V2
View migration_permission_update_v1_to_v2.php
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class PermissionUpdateV1ToV2 extends Migration
* Run the migrations.
You can’t perform that action at this time.