File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ return new class extends Migration
88{
99 public function up()
1010 {
11- Schema::create('fields_table ', function (Blueprint $table) {
11+ Schema::create('fields ', function (Blueprint $table) {
1212 $table->ulid('ulid')->primary();
1313 $table->ulid('parent_ulid')->nullable();
1414
@@ -30,7 +30,7 @@ return new class extends Migration
3030
3131 if (config('fields.is_tenant_aware')) {
3232 $tenant = config('fields.tenant_relationship');
33- Schema::create('field_' . $tenant . '_table' , function (Blueprint $table) use ($tenant) {
33+ Schema::create('field_' . $tenant, function (Blueprint $table) use ($tenant) {
3434 $table->foreignUlid($tenant . '_ulid')->constrained(table: $tenant . '_table', column: 'ulid')->cascadeOnUpdate()->cascadeOnDelete();
3535 $table->foreignUlid('field_ulid')->constrained(table: 'fields_table', column: 'ulid')->cascadeOnUpdate()->cascadeOnDelete();
3636
You can’t perform that action at this time.
0 commit comments