mirror of
https://bitbucket.org/studiotem/jandl-taskmanager-app.git
synced 2026-10-21 14:29:34 +00:00
no message
This commit is contained in:
1 parent
f4375d98ef
commit
9577cb3aee
2 files changed
+32
No files matched your search
@@ -32,6 +32,7 @@ class SubTaskResource extends JsonResource
|
|||||||
'duration' => $this->estimated_time,
|
'duration' => $this->estimated_time,
|
||||||
'spent_time' => $this->tracked_time,
|
'spent_time' => $this->tracked_time,
|
||||||
'deadline' => $this->deadline,
|
'deadline' => $this->deadline,
|
||||||
|
'office365_location' => $this->office365_location,
|
||||||
'is_finished' => $this->is_finished,
|
'is_finished' => $this->is_finished,
|
||||||
'timeblocks' => TimeblockResource::collection($this->timeblocks),
|
'timeblocks' => TimeblockResource::collection($this->timeblocks),
|
||||||
'timesheets' => TimesheetResource::collection($this->timesheets),
|
'timesheets' => TimesheetResource::collection($this->timesheets),
|
||||||
|
|||||||
@@ -0,0 +1,31 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
use Illuminate\Database\Migrations\Migration;
|
||||||
|
use Illuminate\Database\Schema\Blueprint;
|
||||||
|
use Illuminate\Support\Facades\Schema;
|
||||||
|
|
||||||
|
return new class extends Migration {
|
||||||
|
/**
|
||||||
|
* Run the migrations.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function up()
|
||||||
|
{
|
||||||
|
Schema::table('sub_tasks', function (Blueprint $table) {
|
||||||
|
$table->string('office365_location')->after('deadline')->nullable()->default(null);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Reverse the migrations.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function down()
|
||||||
|
{
|
||||||
|
Schema::table('subtasks', function (Blueprint $table) {
|
||||||
|
//
|
||||||
|
});
|
||||||
|
}
|
||||||
|
};
|
||||||
Reference in new issue
Block a user