Verified Commit 88754ff5 authored by Gael Yvert's avatar Gael Yvert
Browse files

drop table pipet_usage (issue #137)

parent f8f1b0e2
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class DropPipetUsageTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::dropIfExists('pipet_usage');
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::create('pipet_usage', function (Blueprint $table) {
$table->bigIncrements('id');
$table->string('name', 100)->nullable($value = false);
$table->timestamp('created_at')->useCurrent();
$table->timestamp('updated_at')->useCurrent();
});
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment