Add Catalog Editor functionality from commit 847879c4
This commit is contained in:
1 parent
858143a69e
commit
d9be189436
14 files changed
+1781
-1
No files matched your search
+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