July 2018
Intermediate to advanced
420 pages
8h 46m
English
As we saw previously, the new files only have the boilerplate code that's been created by the Laravel engine. Let's add some content to the Bike model and migration file.
protected $fillable = [ 'make', 'model', 'year', 'mods', 'picture'];
Schema::create('bikes', function (Blueprint $table) {$table->increments('id');$table->string('make');$table->string('model');$table->string('year');$table->text('mods'); ...Read now
Unlock full access