Files
portal-api/database/migrations/2024_02_01_082942_v_center.php

37 lines
848 B
PHP

<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('module_vcenter',function (Blueprint $table) {
$table->id();
$table->string('host',100)->nullable();
$table->string('user',100)->nullable();
$table->text('password')->nullable();
$table->string('token',255)->nullable();
$table->tinyInteger('status')->default(1);
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('module_vcenter');
}
};