import wip

This commit is contained in:
salam committed 2025-10-03 15:38:35 +02:00
1 parent 0d0b456db1
commit 9b36f0d088
18 files changed
+16475 -100

No files matched your search

@@ -11,7 +11,7 @@ return new class extends Migration
*/
public function up(): void
{
Schema::create('projekts', function (Blueprint $table) {
Schema::create('projektes', function (Blueprint $table) {
$table->id();
$table->foreignId('konto_id')->constrained();
$table->foreignId('auftraggeber_id')->constrained();
@@ -31,6 +31,6 @@ return new class extends Migration
*/
public function down(): void
{
Schema::dropIfExists('projekts');
Schema::dropIfExists('projektes');
}
};
@@ -13,6 +13,10 @@ return new class extends Migration
{
Schema::create('projekte_imports', function (Blueprint $table) {
$table->id();
$table->foreignId('projekte_id')->constrained()->cascadeOnDelete()->default(0);
$table->string('file')->nullable();
$table->string('file-type')->nullable();
$table->string('original_name')->nullable();
$table->timestamps();
});
}