2019-10-06 00:56:23 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
use Illuminate\Support\Facades\Schema;
|
|
|
|
use Illuminate\Database\Schema\Blueprint;
|
|
|
|
use Illuminate\Database\Migrations\Migration;
|
|
|
|
|
|
|
|
class CreateUnitFunctionsTable extends Migration
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Run the migrations.
|
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function up()
|
|
|
|
{
|
2020-08-17 11:43:37 +02:00
|
|
|
Schema::create('unit_functions', function (Blueprint $table) {
|
|
|
|
$table->increments('id');
|
|
|
|
$table->string('unit_function');
|
2019-10-06 00:56:23 +02:00
|
|
|
});
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Reverse the migrations.
|
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function down()
|
|
|
|
{
|
2020-08-17 11:43:37 +02:00
|
|
|
Schema::dropIfExists('unit_functions');
|
2019-10-06 00:56:23 +02:00
|
|
|
}
|
|
|
|
}
|