Adopt anonymous migrations
This commit is contained in:
		| @@ -3,7 +3,7 @@ | ||||
| use Illuminate\Database\Migrations\Migration; | ||||
| use Illuminate\Database\Schema\Blueprint; | ||||
|  | ||||
| class CreateTemplatesTable extends Migration | ||||
| return new class extends Migration | ||||
| { | ||||
|     /** | ||||
|      * Run the migrations. | ||||
| @@ -34,4 +34,4 @@ class CreateTemplatesTable extends Migration | ||||
|     { | ||||
|         Schema::drop('templates'); | ||||
|     } | ||||
| } | ||||
| }; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Shift
					Shift