first upload all files
This commit is contained in:
17
app/Scripts/V2_0_0.php
Normal file
17
app/Scripts/V2_0_0.php
Normal 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::%'");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user