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