From cb4e79f1a07007a3e2108f992704a2e15e8e3b31 Mon Sep 17 00:00:00 2001 From: Kakajan SH Date: Sat, 20 Jun 2020 18:58:12 +0500 Subject: [PATCH] place id column first --- source/docs/v3/upgrading.blade.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/docs/v3/upgrading.blade.md b/source/docs/v3/upgrading.blade.md index b9a86ce..2e753c7 100644 --- a/source/docs/v3/upgrading.blade.md +++ b/source/docs/v3/upgrading.blade.md @@ -65,7 +65,7 @@ That said, automatic tenancy will still work the same way. }); Schema::table('domains', function (Blueprint $table) { - $table->increments('id')->before('domain'); + $table->increments('id')->first(); $table->unique('domain'); $table->timestamps(); });