Skip to content

Instantly share code, notes, and snippets.

@Biciato
Created May 5, 2020 12:34
Show Gist options
  • Save Biciato/b75bd83dbf2cab11529aec8550e7eec7 to your computer and use it in GitHub Desktop.
Save Biciato/b75bd83dbf2cab11529aec8550e7eec7 to your computer and use it in GitHub Desktop.
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateLogsEeTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('logs_ee', function (Blueprint $table) {
$table->id();
$table->string('status');
$table->string('message');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('logs_ee');
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment