Files
monica/database/migrations/2018_08_09_18000_fix-empty-reminder-time.php

19 lines
370 B
PHP

<?php
use App\Models\Account\Account;
use Illuminate\Database\Migrations\Migration;
class FixEmptyReminderTime extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Account::where('default_time_reminder_is_sent', '')
->update(['default_time_reminder_is_sent' => '12:00']);
}
}