Your ROOT_URL in app.ini is http://167.99.32.63:3000/ but you are visiting http://167.99.32.63/ibrahim/BAGETWEBPANEL/src/branch/KARATAS/database/migrations/2014_10_12_000000_create_users_table.php You should set ROOT_URL correctly, otherwise the web may not work correctly.
 
 

42 lines
1.1 KiB

<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateUsersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('users', function (Blueprint $table) {
$table->id();
$table->string('f_name',100)->nullable();
$table->string('l_name',100)->nullable();
$table->string('phone')->nullable();
$table->string('email',100)->nullable();
$table->string('image',100)->nullable();
$table->boolean('is_phone_verified')->default(0);
$table->timestamp('email_verified_at')->nullable();
$table->string('password',100);
$table->string('email_verification_token')->nullable();
$table->string('cm_firebase_token')->nullable();
$table->rememberToken();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('users');
}
}