Skip to content

Commit

Permalink
Merge branch 'dev' into rilis-2409
Browse files Browse the repository at this point in the history
  • Loading branch information
vickyrolanda committed Aug 30, 2024
2 parents 238b189 + bcf7c8a commit 4e0862f
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
* @license http://www.gnu.org/licenses/gpl.html GPL V3
* @
*/

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Artisan;
Expand All @@ -42,7 +41,8 @@
* @return void
*/
public function up()
{
{
if (!Schema::hasTable('das_navigation')) {
Schema::create('das_navigation', function (Blueprint $table) {
$table->increments('id');
$table->integer('parent_id')->nullable();
Expand All @@ -52,12 +52,15 @@ public function up()
$table->string('url')->nullable();
$table->integer('order')->nullable();
$table->tinyInteger('status')->default(0);
$table->integer('type')->nullable();

$table->timestamps();
});

Artisan::call('db:seed', ['--class' => 'DasNavigationTableSeeder']);
}
}


/**
* Reverse the migrations.
Expand Down

0 comments on commit 4e0862f

Please sign in to comment.