wip
This commit is contained in:
1 parent
88205b7aa1
commit
46eb3767f9
8 files changed
+208
-122
No files matched your search
@@ -20,7 +20,6 @@ return new class extends Migration
|
||||
$table->date('day_to')->nullable();
|
||||
$table->boolean('is_active')->default(0);
|
||||
$table->boolean('compleated')->default(0);
|
||||
$table->boolean('run_repeatedly')->default(0);
|
||||
$table->dateTime('last_start')->nullable();
|
||||
$table->dateTime('last_end')->nullable();
|
||||
$table->timestamps();
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
<?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('sofa_score_task_days', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->integer('grapper_id');
|
||||
$table->date('day')->nullable();
|
||||
$table->boolean('done')->default(false);
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('sofa_score_task_days');
|
||||
}
|
||||
};
|
||||
Reference in new issue
Block a user