/** * Load the object's metadata through the Metadata Builder object. * * @param Fluent $builder */ public function map(Fluent $builder) { $builder->table('users')->charset('utf8mb4'); $builder->bigIncrements('id'); $builder->string('username')->unique(); $builder->string('email')->unique(); $builder->string('password'); $builder->rememberToken(); $builder->timestamps(); $builder->softDelete(); }