Skip to content

Commit

Permalink
nambah migration
Browse files Browse the repository at this point in the history
  • Loading branch information
afifpriandhika committed Jun 15, 2021
1 parent 39be2ab commit 1b8321d
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions database/migrations/2021_06_15_014319_create_chat_table.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

class CreateChatTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('chat', function (Blueprint $table) {
$table->id();
$table->timestamps();
});
}

/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('chat');
}
}

0 comments on commit 1b8321d

Please sign in to comment.