<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

class CreateServerlistsTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('serverlists', function (Blueprint $table) {
            $table->id();
            $table->string('userid')->nullable();
            $table->string('ip')->nullable();
            $table->string('name')->nullable();
            $table->string('cpu')->nullable();
            $table->string('ram')->nullable();
            $table->string('status')->nullable();
            $table->string('login')->nullable();
            $table->string('password')->nullable();
            $table->string('serverstatussystem')->nullable();
            $table->longText('data')->nullable();
            $table->timestamps();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::dropIfExists('serverlists');
    }
}
