Merge branch 'develop' into trunk

This commit is contained in:
Jeremy Munsch 2026-09-29 11:26:36 +02:00
commit c87c7bbbf9
No known key found for this signature in database
GPG key ID: 7A502D8B9839C78C

View file

@ -15,11 +15,13 @@ return new class extends Migration
public function up(): void
{
DB::transaction(function () {
// Remove block id '29' of section 26
DB::table('blocks')->where([
'id' => 29,
'section_id' => 26
])->delete();
DB::table('blocks')
->whereIn('section_id', function ($query) {
$query->select('section_id')
->from('section_pages')
->where('page_id', 12);
})
->delete();
});
}