Ngiler SH3LL 360
Home
Information
Create File
Create Folder
:
/
home
/
tbf
/
tbfguestbe.tbf.ro
/
database
/
migrations
/
Information Server
MySQL :
OFF
Perl :
OFF
CURL :
ON
WGET :
OFF
PKEXEC :
OFF
Directive
Local Value
IP Address
89.40.16.97
System
Linux server.atelieruldeit.ro 3.10.0-1160.el7.x86_64 #1 SMP Mon Oct 19 16:18:59 UTC 2020 x86_64
User
tbf
PHP Version
7.3.33
Software
Apache
Doc root
Writable
close
Edit File :
2023_09_28_112931_create_responsibility_table.php
| Size :
1006
B
Copy
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; return new class extends Migration { /** * Run the migrations. */ public function up(): void { Schema::create('responsibilities', function (Blueprint $table) { $table->id(); $table->unsignedBigInteger('position_id')->nullable(); $table->json('activity_ids')->nullable(); $table->text('description')->nullable(); $table->text('frequency')->nullable(); $table->text('kpi')->nullable(); $table->text('verification')->nullable(); $table->timestamps(); $table->softDeletes(); $table->foreign('position_id')->references('id')->on('positions')->cascadeOnDelete(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('responsibilities'); } };
Back