Файл: database/migrations/2022_07_12_020334_v3_3_0.php
Строк: 32
<?php
use IlluminateDatabaseMigrationsMigration;
use IlluminateDatabaseSchemaBlueprint;
use IlluminateSupportFacadesDB;
use IlluminateSupportFacadesSchema;
return new class extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::drop('cronjobs');
DB::table('settings')->insert(
[
['name' => 'cronjob_executed_at', 'value' => null],
['name' => 'email_reports_period', 'value' => 'monthly'],
['name' => 'do_not_track', 'value' => 0]
]
);
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
//
}
};