rename ProjektRaeumealle ro ProjektObjekte und ProjektObjekteImDetail
This commit is contained in:
1 parent
7746b426b3
commit
967d6e5157
30 files changed
+342
-292
No files matched your search
+2
-2
@@ -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');
|
||||
}
|
||||
};
|
||||
+3
-3
@@ -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');
|
||||
}
|
||||
};
|
||||
@@ -4,7 +4,7 @@ namespace Database\Seeders;
|
||||
|
||||
use Illuminate\Database\Seeder;
|
||||
|
||||
class ProjektRaeumealleSeeder extends Seeder
|
||||
class ProjektObjekteImDetailSeeder extends Seeder
|
||||
{
|
||||
/**
|
||||
* Run the database seeds.
|
||||
|
||||
Reference in new issue
Block a user