OctoberCMS가이 테이블을 생성 할 때 ID 열만 있습니다.Laravel artisan이 모든 열을 생성하지 않음
이유를 알 수 없습니다.
다음은 내 업데이트/createTable.php 파일의 클래스입니다. 이 같은
class CreateCellphoneTable extends Migration
{
public function up()
{
Schema::create('iaff106_cell_phones', function($table)
{
$table->engine = 'InnoDB';
$table->increments('id');
$table->integer('user_id')->unsigned()->nullable()->index();
$table->string('label')->nullable();
$table->string('phone')->index();
$table->integer('provider_id')->nullable();
$table->boolean('cantxt')->default(true);
$table->boolean('published')->default(false);
$table->timestamps();
});
}
}
내가 실행하고 장인 :
php artisan plugin:refresh IAFF106.CellPhone
생성 된 열은 무엇이며 어떤 것이 있습니까? – mwafi