dyjh 6 anos atrás
pai
commit
f975abe9c7

+ 2 - 2
database/migrations/2019_04_09_163006_add_is_root_to_admin_role.php

xqd xqd
@@ -13,7 +13,7 @@ class AddIsRootToAdminRole extends Migration
      */
     public function up()
     {
-        Schema::table('admin_role', function (Blueprint $table) {
+        Schema::table('admin_roles', function (Blueprint $table) {
             //
             $table->unsignedInteger('is_root')->nullable()->default(0);
         });
@@ -26,7 +26,7 @@ class AddIsRootToAdminRole extends Migration
      */
     public function down()
     {
-        Schema::table('admin_role', function (Blueprint $table) {
+        Schema::table('admin_roles', function (Blueprint $table) {
             //
         });
     }