1
1
mirror of https://github.com/pterodactyl/panel.git synced 2024-11-22 17:12:30 +01:00
Pterodactyl-Panel/database/migrations/2022_01_25_030847_drop_google_analytics.php
2022-02-05 09:08:43 -08:00

32 lines
566 B
PHP

<?php
use Illuminate\Support\Facades\DB;
use Illuminate\Database\Migrations\Migration;
class DropGoogleAnalytics extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
DB::table('settings')->where('key', 'settings::app:analytics')->delete();
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
DB::table('settings')->insert(
[
'key' => 'settings::app:analytics',
]
);
}
}