<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddNoHpUsers extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
try {
Schema::table('users', function (Blueprint $table) {
$table->string('no_hp')->nullable()->after('password');
});
} catch (\Throwable $th) {
//throw $th;
}
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
//
}
}
Anons79 File Manager Version 1.0, Coded By Anons79
Email: [email protected]