id(); $table->string('name'); $table->string('email'); $table->string('mobile')->nullable(); $table->timestamp('email_verified_at')->nullable(); $table->string('profile')->nullable(); $table->string('type')->comment('email/google/mobile'); $table->string('password'); $table->string('fcm_id'); $table->boolean('notification')->default(0); $table->string('firebase_id')->nullable(); $table->text('address')->nullable(); $table->rememberToken(); $table->timestamps(); $table->softDeletes(); $table->unique(['firebase_id', 'type']); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('users'); } };