Let's get started quickly I found new things in Laravel 9.14 Released I wanted to share with you. Migration table comments for MySQL and Postgres the ability to add table comments for MySQL and Postgres migrations Schema::table('posts', function (Blueprint $table) { $table->comment('This is a comment'); }); Enter fullscreen mode
Dynamic "trashed" factory state dynamic support of a "trashed" factory state for models using soft deletes // in Factory class public function trashed() { return $this->state([ 'deleted_at' => now()->subDay(), ]); }
Array prependKeysWith() helper new array helper to prepend all key names in an associative array quickly