You've already forked Epicnabbo-Catalogus-Updated-Daily
🆙 More fixes 🆙
This commit is contained in:
+17
-3
@@ -8,8 +8,15 @@ return new class extends Migration
|
||||
{
|
||||
public function up(): void
|
||||
{
|
||||
Schema::connection(config('activitylog.database_connection'))->table(config('activitylog.table_name'), function (Blueprint $table) {
|
||||
if (! columnExists(config('activitylog.table_name'), 'event')) {
|
||||
$connection = config('activitylog.database_connection');
|
||||
$connection = is_string($connection) ? $connection : null;
|
||||
$tableName = config('activitylog.table_name');
|
||||
if (! is_string($tableName) || $tableName === '') {
|
||||
return;
|
||||
}
|
||||
|
||||
Schema::connection($connection)->table($tableName, function (Blueprint $table) use ($tableName): void {
|
||||
if (! columnExists($tableName, 'event')) {
|
||||
$table->string('event')->nullable()->after('subject_type');
|
||||
}
|
||||
});
|
||||
@@ -17,7 +24,14 @@ return new class extends Migration
|
||||
|
||||
public function down(): void
|
||||
{
|
||||
Schema::connection(config('activitylog.database_connection'))->table(config('activitylog.table_name'), function (Blueprint $table) {
|
||||
$connection = config('activitylog.database_connection');
|
||||
$connection = is_string($connection) ? $connection : null;
|
||||
$tableName = config('activitylog.table_name');
|
||||
if (! is_string($tableName) || $tableName === '') {
|
||||
return;
|
||||
}
|
||||
|
||||
Schema::connection($connection)->table($tableName, function (Blueprint $table): void {
|
||||
$table->dropColumn('event');
|
||||
});
|
||||
}
|
||||
|
||||
+17
-3
@@ -8,8 +8,15 @@ return new class extends Migration
|
||||
{
|
||||
public function up(): void
|
||||
{
|
||||
Schema::connection(config('activitylog.database_connection'))->table(config('activitylog.table_name'), function (Blueprint $table) {
|
||||
if (! columnExists(config('activitylog.table_name'), 'batch_uuid')) {
|
||||
$connection = config('activitylog.database_connection');
|
||||
$connection = is_string($connection) ? $connection : null;
|
||||
$tableName = config('activitylog.table_name');
|
||||
if (! is_string($tableName) || $tableName === '') {
|
||||
return;
|
||||
}
|
||||
|
||||
Schema::connection($connection)->table($tableName, function (Blueprint $table) use ($tableName): void {
|
||||
if (! columnExists($tableName, 'batch_uuid')) {
|
||||
$table->uuid('batch_uuid')->nullable()->after('properties');
|
||||
}
|
||||
});
|
||||
@@ -17,7 +24,14 @@ return new class extends Migration
|
||||
|
||||
public function down(): void
|
||||
{
|
||||
Schema::connection(config('activitylog.database_connection'))->table(config('activitylog.table_name'), function (Blueprint $table) {
|
||||
$connection = config('activitylog.database_connection');
|
||||
$connection = is_string($connection) ? $connection : null;
|
||||
$tableName = config('activitylog.table_name');
|
||||
if (! is_string($tableName) || $tableName === '') {
|
||||
return;
|
||||
}
|
||||
|
||||
Schema::connection($connection)->table($tableName, function (Blueprint $table): void {
|
||||
$table->dropColumn('batch_uuid');
|
||||
});
|
||||
}
|
||||
|
||||
+2
-2
@@ -6,7 +6,7 @@ use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
public function up()
|
||||
public function up(): void
|
||||
{
|
||||
Schema::create('website_housekeeping_permissions', function (Blueprint $table) {
|
||||
$table->id();
|
||||
@@ -17,7 +17,7 @@ return new class extends Migration
|
||||
});
|
||||
}
|
||||
|
||||
public function down()
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('housekeeping_permissions');
|
||||
}
|
||||
|
||||
+2
-2
@@ -6,14 +6,14 @@ use Illuminate\Support\Facades\Schema;
|
||||
|
||||
class AddVisibleToCameraWebTable extends Migration
|
||||
{
|
||||
public function up()
|
||||
public function up(): void
|
||||
{
|
||||
Schema::table('camera_web', function (Blueprint $table) {
|
||||
$table->boolean('visible')->default(true);
|
||||
});
|
||||
}
|
||||
|
||||
public function down()
|
||||
public function down(): void
|
||||
{
|
||||
Schema::table('camera_web', function (Blueprint $table) {
|
||||
$table->dropColumn('visible');
|
||||
|
||||
+2
-2
@@ -6,14 +6,14 @@ use Illuminate\Support\Facades\Schema;
|
||||
|
||||
class UpdateSubjectIdColumnInActivityLogTable extends Migration
|
||||
{
|
||||
public function up()
|
||||
public function up(): void
|
||||
{
|
||||
Schema::table('activity_log', function (Blueprint $table) {
|
||||
$table->string('subject_id')->change();
|
||||
});
|
||||
}
|
||||
|
||||
public function down()
|
||||
public function down(): void
|
||||
{
|
||||
Schema::table('activity_log', function (Blueprint $table) {
|
||||
$table->integer('subject_id')->change();
|
||||
|
||||
@@ -6,7 +6,7 @@ use Illuminate\Support\Facades\Schema;
|
||||
|
||||
class CreateWebsiteBadgesTable extends Migration
|
||||
{
|
||||
public function up()
|
||||
public function up(): void
|
||||
{
|
||||
Schema::create('website_badges', function (Blueprint $table) {
|
||||
$table->id();
|
||||
@@ -17,7 +17,7 @@ class CreateWebsiteBadgesTable extends Migration
|
||||
});
|
||||
}
|
||||
|
||||
public function down()
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('website_badges');
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@ use Illuminate\Database\Seeder;
|
||||
|
||||
class HousekeepingPermissionSeeder extends Seeder
|
||||
{
|
||||
public function run()
|
||||
public function run(): void
|
||||
{
|
||||
$permissions = [
|
||||
[
|
||||
|
||||
@@ -59,3 +59,5 @@
|
||||
[2026-01-19 21:09:39] production.ERROR: RCON connection failed: Kan geen verbinding maken omdat de doelcomputer de verbinding actief heeft geweigerd
|
||||
[2026-01-19 21:12:03] production.ERROR: RCON connection failed: Kan geen verbinding maken omdat de doelcomputer de verbinding actief heeft geweigerd
|
||||
[2026-01-19 21:12:03] production.ERROR: RCON connection failed: Kan geen verbinding maken omdat de doelcomputer de verbinding actief heeft geweigerd
|
||||
[2026-01-19 21:30:09] production.ERROR: RCON connection failed: Kan geen verbinding maken omdat de doelcomputer de verbinding actief heeft geweigerd
|
||||
[2026-01-19 21:30:09] production.ERROR: RCON connection failed: Kan geen verbinding maken omdat de doelcomputer de verbinding actief heeft geweigerd
|
||||
|
||||
Reference in New Issue
Block a user