c3lf-system-3/database/migrations/2019_11_14_214212_create_containers_table.php
2019-11-28 05:43:12 +01:00

32 lines
640 B
PHP

<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateContainersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('containers', function (Blueprint $table) {
$table->bigIncrements('cid');
$table->string('name');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('container');
}
}