office365 integration

This commit is contained in:
StudioTem committed 2025-03-17 09:54:13 +01:00
1 parent 264ca10078
commit e1712c8fcd
11 files changed
+551 -16

No files matched your search

@@ -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('blockers', function (Blueprint $table) {
$table->string('office365_id')->index()->nullable()->default(null)->after('intranet_id');
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('blockers', function (Blueprint $table) {
//
});
}
};
@@ -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('blockers', function (Blueprint $table) {
$table->string('office365_change_key')->index()->nullable()->default(null)->after('office365_id');
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('blockers', function (Blueprint $table) {
//
});
}
};
@@ -0,0 +1,35 @@
<?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_id')->index()->nullable()->default(null)->after('id');
});
Schema::table('sub_tasks', function (Blueprint $table) {
$table->string('office365_change_key')->index()->nullable()->default(null)->after('office365_id');
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('subtasks', function (Blueprint $table) {
//
});
}
};
@@ -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('master_tasks', function (Blueprint $table) {
$table->float('estimated_duration')->after('description')->comment('tento field je fixny a neupdatuje sa na zaklade subtaskov');
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('master_task', function (Blueprint $table) {
//
});
}
};
@@ -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('master_tasks', function (Blueprint $table) {
$table->renameColumn('estimated_duration', 'pricequote_time');
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('master_task', function (Blueprint $table) {
//
});
}
};