rename tables raumealle, allgemeinflaechen orientierung_zu_abschlaege
This commit is contained in:
1 parent
f2b6487ec0
commit
92bdc77eee
31 files changed
+194
-197
No files matched your search
@@ -11,7 +11,7 @@ return new class extends Migration
|
||||
*/
|
||||
public function up(): void
|
||||
{
|
||||
Schema::create('allgemeinflaechens', function (Blueprint $table) {
|
||||
Schema::create('projekt_allgemeinflaechens', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->foreignId('projekte_id')->constrained()->cascadeOnDelete();
|
||||
$table->string('geschoss')->nullable();
|
||||
@@ -26,6 +26,6 @@ return new class extends Migration
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('allgemeinflaechens');
|
||||
Schema::dropIfExists('projekt_allgemeinflaechens');
|
||||
}
|
||||
};
|
||||
@@ -11,10 +11,10 @@ return new class extends Migration
|
||||
*/
|
||||
public function up(): void
|
||||
{
|
||||
Schema::create('raeumealles', function (Blueprint $table) {
|
||||
Schema::create('projekt_raeumealles', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->foreignId('projekte_id')->constrained()->cascadeOnDelete();
|
||||
$table->integer('orientierung_zu_abschlaege_id')->default(0)->nullable();
|
||||
$table->integer('projekt_orientierung_zu_abschlaege_id')->default(0)->nullable();
|
||||
$table->string('top_nummer')->nullable();
|
||||
$table->string('geschoss')->nullable();
|
||||
$table->string('raumart')->nullable();
|
||||
@@ -30,6 +30,6 @@ return new class extends Migration
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('raeumealles');
|
||||
Schema::dropIfExists('projekt_raeumealles');
|
||||
}
|
||||
};
|
||||
@@ -11,7 +11,7 @@ return new class extends Migration
|
||||
*/
|
||||
public function up(): void
|
||||
{
|
||||
Schema::create('orientierung_zu_abschlaeges', function (Blueprint $table) {
|
||||
Schema::create('projekt_orientierung_zu_abschlaeges', 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('orientierung_zu_abschlaeges');
|
||||
Schema::dropIfExists('projekt_orientierung_zu_abschlaeges');
|
||||
}
|
||||
};
|
||||
Reference in new issue
Block a user