rename ProjektRaeumealle ro ProjektObjekte und ProjektObjekteImDetail

This commit is contained in:
salam committed 2025-10-26 09:14:01 +01:00
1 parent 7746b426b3
commit 967d6e5157
30 files changed
+342 -292

No files matched your search

@@ -11,7 +11,7 @@ return new class extends Migration
*/
public function up(): void
{
Schema::create('projekt_orientierung_zu_abschlaeges', function (Blueprint $table) {
Schema::create('projekt_objektes', function (Blueprint $table) {
$table->id();
$table->foreignId('projekte_id')->constrained()->cascadeOnDelete();
$table->integer('orientierung_id')->nullable()->default(0);
@@ -41,6 +41,6 @@ return new class extends Migration
*/
public function down(): void
{
Schema::dropIfExists('projekt_orientierung_zu_abschlaeges');
Schema::dropIfExists('projekt_objektes');
}
};
@@ -11,10 +11,10 @@ return new class extends Migration
*/
public function up(): void
{
Schema::create('projekt_raeumealles', function (Blueprint $table) {
Schema::create('projekt_objekte_im_details', function (Blueprint $table) {
$table->id();
$table->foreignId('projekte_id')->constrained()->cascadeOnDelete();
$table->integer('projekt_orientierung_zu_abschlaege_id')->constrained()->cascadeOnDelete();
$table->foreignId('projekt_objekte_id')->constrained()->cascadeOnDelete();
$table->string('geschoss')->nullable();
$table->string('raumart')->nullable();
$table->double('faktor')->nullable();
@@ -29,6 +29,6 @@ return new class extends Migration
*/
public function down(): void
{
Schema::dropIfExists('projekt_raeumealles');
Schema::dropIfExists('projekt_objekte_im_details');
}
};
+1 -1
View File
@@ -4,7 +4,7 @@ namespace Database\Seeders;
use Illuminate\Database\Seeder;
class ProjektRaeumealleSeeder extends Seeder
class ProjektObjekteImDetailSeeder extends Seeder
{
/**
* Run the database seeds.