You've already forked Epicnabbo-Catalogus-Updated-Daily
Add Catalog Editor functionality from commit 847879c4
This commit is contained in:
+25
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Support\Facades\DB;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
public function up(): void
|
||||
{
|
||||
DB::table('website_settings')->updateOrInsert(
|
||||
['key' => 'catalog_icons_path'],
|
||||
[
|
||||
'value' => '/gamedata/c_images/catalogue',
|
||||
'comment' => 'Path to catalog icons',
|
||||
],
|
||||
);
|
||||
}
|
||||
|
||||
public function down(): void
|
||||
{
|
||||
DB::table('website_settings')->whereIn('key', [
|
||||
'catalog_icons_path',
|
||||
])->delete();
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user