refactor(form-builder): pre-publish check reads form_field_bindings; drop binding JSON columns

This commit is contained in:
2026-04-24 20:09:27 +02:00
parent 6933e6d700
commit 61719bf8bf
18 changed files with 375 additions and 97 deletions

View File

@@ -0,0 +1,24 @@
<?php
declare(strict_types=1);
namespace Tests\Feature\FormBuilder\Bindings;
use Illuminate\Foundation\Testing\RefreshDatabase;
use Illuminate\Support\Facades\Schema;
use Tests\TestCase;
final class BindingJsonColumnsDroppedTest extends TestCase
{
use RefreshDatabase;
public function test_form_fields_has_no_binding_column(): void
{
$this->assertFalse(Schema::hasColumn('form_fields', 'binding'));
}
public function test_form_field_library_has_no_default_binding_column(): void
{
$this->assertFalse(Schema::hasColumn('form_field_library', 'default_binding'));
}
}