*/ private const TABLES = ['users', 'roles', 'webhooks']; public function up(): void { foreach (self::TABLES as $table) { $this->table($table, function (Blueprint $blueprint): void { $blueprint->softDeletes(); }); } } public function down(): void { foreach (self::TABLES as $table) { $this->table($table, function (Blueprint $blueprint): void { $blueprint->dropColumn('deleted_at'); }); } } }