feat: support additional markup layouts

This commit is contained in:
Benjamin Nussbaum 2026-01-28 16:02:14 +01:00
parent a57feabe95
commit 7ebfa586c1
7 changed files with 505 additions and 128 deletions

View file

@ -0,0 +1,38 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::table('plugins', function (Blueprint $table) {
$table->text('render_markup_half_horizontal')->nullable()->after('render_markup');
$table->text('render_markup_half_vertical')->nullable()->after('render_markup_half_horizontal');
$table->text('render_markup_quadrant')->nullable()->after('render_markup_half_vertical');
$table->text('render_markup_shared')->nullable()->after('render_markup_quadrant');
$table->text('transform_code')->nullable()->after('render_markup_shared');
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('plugins', function (Blueprint $table) {
$table->dropColumn([
'render_markup_half_horizontal',
'render_markup_half_vertical',
'render_markup_quadrant',
'render_markup_shared',
'transform_code',
]);
});
}
};