Public Access
zwischencommit
This commit is contained in:
1 parent
bdb62a6ce2
commit
ed07d3ef70
8 files changed
+263
-5
No files matched your search
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration {
|
||||
public function up(): void
|
||||
{
|
||||
Schema::create('bewerbungen', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->string('name');
|
||||
$table->string('slug')->unique();
|
||||
$table->text('text')->nullable();
|
||||
$table->boolean('active')->default(false);
|
||||
$table->boolean('time')->default(false);
|
||||
$table->string('pdf_path')->nullable();
|
||||
$table->string('pic_path')->nullable();
|
||||
$table->string('bedingungen_path')->nullable();
|
||||
$table->timestamp('start_at')->nullable();
|
||||
$table->timestamp('end_at')->nullable();
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('bewerbungen');
|
||||
}
|
||||
};
|
||||
Reference in new issue
Block a user