Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 0 additions & 22 deletions ProcessMaker/Listeners/UpdateDataLakeViews.php

This file was deleted.

3 changes: 0 additions & 3 deletions ProcessMaker/Providers/EventServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,6 @@ class EventServiceProvider extends ServiceProvider
'Illuminate\Auth\Events\Logout' => [
'ProcessMaker\Listeners\SecurityLogger',
],
'Illuminate\Database\Events\MigrationsEnded' => [
'ProcessMaker\Listeners\UpdateDataLakeViews',
],
'Illuminate\Console\Events\CommandStarting' => [
'ProcessMaker\Listeners\RegisterTenantScheduleTasks',
],
Expand Down
24 changes: 24 additions & 0 deletions database/migrations/2026_09_08_143906_drop_data_lake_views.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?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
{
Artisan::call('processmaker:create-data-lake-views', ['--drop' => true]);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If there is no data-lake tables? Do this artisan command to drop the view will continue without throwing exceptions?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried php artisan processmaker:create-data-lake-views --drop and this command does not generate errors. @caleeli

}
Comment thread
cursor[bot] marked this conversation as resolved.

/**
* Reverse the migrations.
*/
public function down(): void
{
//
}
};
Loading