<?php

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

class CreateFortuneTellersTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('fortune_tellers', function (Blueprint $table) {
            $table->id();
			$table->integer("number")->default(0);
			$table->string("name");
			$table->string("display_name")->nullable();
			$table->boolean("gender")->default(true);
			$table->integer("age")->default(0);
			$table->string("phone_number")->nullable();
			$table->string("email")->nullable();
			$table->string("address")->nullable();
			$table->string("avatar")->nullable();
			$table->string("cost")->nullable();
			$table->string("consultation_minutes")->nullable();
			$table->string("performance")->nullable();
			$table->string("use_scry")->nullable();
			$table->string("consultation_genre")->nullable();
			$table->string("good_consultation")->nullable();
			$table->string("commitment")->nullable();
			$table->string("boom")->nullable();
			$table->string("message")->nullable();
			$table->integer("user_id")->nullable();
			$table->boolean("is_activated")->default(true);
			$table->boolean("is_deleted")->default(false);
            $table->timestamps();
        });
    }

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