<?php

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

class CreateFailedAirtimeAttemptsTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('failed_airtime_attempts', function (Blueprint $table) {
            $table->id();
            $table->string('phone')->nullable();
            $table->string('amount')->nullable();
            $table->string('credit')->nullable();
            $table->string('value')->nullable();
            $table->string('account')->nullable();
            $table->timestamps();
        });
    }

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