first upload all files

This commit is contained in:
NW
2023-06-11 13:14:03 +01:00
parent f14dbc52b5
commit c08b36d1b6
1705 changed files with 106852 additions and 0 deletions

17
app/Scripts/V2_0_0.php Normal file
View File

@@ -0,0 +1,17 @@
<?php
namespace FleetCart\Scripts;
use FleetCart\FleetCart;
use Illuminate\Support\Facades\DB;
class V2_0_0
{
public function run()
{
if (version_compare(FleetCart::VERSION, '2.0.0', '=')) {
DB::delete("DELETE FROM `settings` WHERE `key` LIKE 'storefront_%' AND NOT `key` = 'storefront_copyright_text'");
DB::delete("DELETE FROM `translations` WHERE `key` LIKE 'storefront::%'");
}
}
}