Migration { public function up() { Schema::create('tablename', function (Blueprint $table) { $table->id(); $table->timestamps(); }); } public function down() { Schema::dropIfExists('tablename'); } }; 14/40
be a child of the first Eleoquent model Route::get('users/{user}/posts/{post}', function (User $user, Post $post) { return $post; })->scopeBindings(); 26/40