Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/229.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php 为什么使用cms laravel voyager插入或修改时不显示其他用户字段_Php_Laravel_Voyager - Fatal编程技术网

Php 为什么使用cms laravel voyager插入或修改时不显示其他用户字段

Php 为什么使用cms laravel voyager插入或修改时不显示其他用户字段,php,laravel,voyager,Php,Laravel,Voyager,我已向laravel voyager的用户添加了字段(居住地址、电话号码…),并尝试在我的项目中添加laravel voyager中的用户,我输入链接127.0.0.1/admin->users,但当我单击add new时,我找不到任何其他字段,我只找到voyager的默认字段 2014\u10\u12\u000000\u创建用户\u表格.php public function up() { Schema::create('users', function (Bluepr

我已向laravel voyager的用户添加了字段(居住地址、电话号码…),并尝试在我的项目中添加laravel voyager中的用户,我输入链接127.0.0.1/admin->users,但当我单击add new时,我找不到任何其他字段,我只找到voyager的默认字段

2014\u10\u12\u000000\u创建用户\u表格.php

public function up()
    {
        Schema::create('users', function (Blueprint $table) {
            $table->bigIncrements('id');
            $table->string('name'); 
            $table->string('email')->unique()->nullable();
            $table->string('telephone')->nullable();
            $table->date('daten')->nullable();  
            $table->string('autreh')->nullable();
            $table->boolean('is_admin')->default(0); 
            $table->string('autrei')->nullable();
            $table->string('adressem')->nullable();
            $table->string('adresser')->nullable();
            $table->string('image')->nullable();
            $table->text('images')->nullable();
            $table->timestamp('email_verified_at')->nullable();
            $table->string('password');
            $table->rememberToken();
            $table->timestamps();
        });
    }