import wip
This commit is contained in:
1 parent
0d0b456db1
commit
9b36f0d088
18 files changed
+16475
-100
No files matched your search
+2
-2
@@ -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');
|
||||
}
|
||||
};
|
||||
+4
@@ -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();
|
||||
});
|
||||
}
|
||||
Reference in new issue
Block a user