Visuelle iCal-Regelengine mit Originaldaten und individuellen Exportfeldern integrieren
Deploy FeWo mit PipelineManager / deploy (push) Successful in 2m37s
Deploy FeWo mit PipelineManager / deploy (push) Successful in 2m37s
This commit is contained in:
1 parent
c4ebccbbea
commit
e9db98701b
30 files changed
+1269
-15
No files matched your search
@@ -0,0 +1,39 @@
|
||||
<?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::table('channels', function (Blueprint $table): void {
|
||||
$table->longText('ical_analysis')->nullable();
|
||||
$table->dateTime('ical_analyzed_at')->nullable();
|
||||
$table->json('ical_rules')->nullable();
|
||||
$table->json('ical_active_rules')->nullable();
|
||||
$table->json('ical_export_mapping')->nullable();
|
||||
$table->boolean('ical_export_names')->default(false);
|
||||
});
|
||||
Schema::table('blocked_periods', function (Blueprint $table): void {
|
||||
$table->longText('ical_properties')->nullable();
|
||||
$table->longText('ical_raw')->nullable();
|
||||
$table->longText('ical_interpretation')->nullable();
|
||||
$table->string('ical_event_type')->default('unknown');
|
||||
$table->unsignedInteger('leading_priority')->default(0);
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::table('blocked_periods', fn (Blueprint $table) => $table->dropColumn(['ical_properties', 'ical_raw', 'ical_interpretation', 'ical_event_type', 'leading_priority']));
|
||||
Schema::table('channels', fn (Blueprint $table) => $table->dropColumn(['ical_analysis', 'ical_analyzed_at', 'ical_rules', 'ical_active_rules', 'ical_export_mapping', 'ical_export_names']));
|
||||
}
|
||||
};
|
||||
Reference in new issue
Block a user