Querying Many to One to Relation in October CMS as a Join
问题 Given the following October CMS Plugin Models: Schema::create('iaff106_cellphone_cellphones', function($table){ $table->engine = 'InnoDB'; $table->increments('id'); $table->integer('user_id')->unsigned()->nullable()->index(); $table->string('label'); $table->string('phone')->nullable()->index(); $table->integer('provider_id')->nullable(); $table->boolean('is_txtable')->default(true); $table->boolean('is_published')->default(false); $table->timestamps(); }); Schema::create('iaff106_cellphone