Compare commits
No commits in common. "8844463d77b5ba4d04d17c13390ea6c9e0527e1a" and "b71b5884d019c2dc18f568eb5a3befad84edcc42" have entirely different histories.
8844463d77
...
b71b5884d0
@ -1,35 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace _migrations;
|
||||
|
||||
use Illuminate\Database\Capsule\Manager;
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class menuMigration extends Migration
|
||||
{
|
||||
public static function up(): void
|
||||
{
|
||||
Manager::schema()->create('menu', function (Blueprint $table) {
|
||||
$table->increments('id');
|
||||
$table->integer('parent_id')->default(1);
|
||||
$table->string('icon_file', 255)->nullable(false);
|
||||
$table->string('icon_font', 255);
|
||||
$table->string('label', 255);
|
||||
$table->string('url', 255);
|
||||
$table->integer('status')->default(1);
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public static function down(): void
|
||||
{
|
||||
Manager::schema()->dropIfExists('menu');
|
||||
}
|
||||
}
|
||||
}
|
2
composer.lock
generated
2
composer.lock
generated
@ -2495,5 +2495,5 @@
|
||||
"prefer-lowest": false,
|
||||
"platform": [],
|
||||
"platform-dev": [],
|
||||
"plugin-api-version": "2.6.0"
|
||||
"plugin-api-version": "2.3.0"
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user