Add (ai gen)

This commit is contained in:
2023-10-02 00:22:13 +08:00
parent 274e11193d
commit 2b55e0376e
3 changed files with 109 additions and 21 deletions

View File

@@ -0,0 +1,29 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('daily_task_schedules', function (Blueprint $table) {
$table->id();
$table->string('task');
$table->time('next_run_time');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('daily_task_schedules');
}
};