From 5e353303ca9e8435452bd6a64ebecfae2632ab5d Mon Sep 17 00:00:00 2001 From: Edwin Krause Date: Thu, 1 Feb 2024 18:11:18 +0100 Subject: [PATCH] no trashed in bool coluimn, gives error with postgresql --- .../2023_12_20_173900_change_status_type_in_schedule_table.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/migrations/2023_12_20_173900_change_status_type_in_schedule_table.php b/database/migrations/2023_12_20_173900_change_status_type_in_schedule_table.php index f9ad1bf..1802860 100644 --- a/database/migrations/2023_12_20_173900_change_status_type_in_schedule_table.php +++ b/database/migrations/2023_12_20_173900_change_status_type_in_schedule_table.php @@ -19,7 +19,7 @@ public function up() DB::table(Config::get('filament-database-schedule.table.schedules', 'schedules'))->where('status', 0)->update(['new_status' => 'inactive']); DB::table(Config::get('filament-database-schedule.table.schedules', 'schedules'))->where('status', 1)->update(['new_status' => 'active']); - DB::table(Config::get('filament-database-schedule.table.schedules', 'schedules'))->where('status', 3)->update(['new_status' => 'trashed']); + // DB::table(Config::get('filament-database-schedule.table.schedules', 'schedules'))->where('status', 3)->update(['new_status' => 'trashed']); Schema::table(Config::get('filament-database-schedule.table.schedules', 'schedules'), function (Blueprint $table) { $table->dropColumn('status');