add assignment completion api
This commit is contained in:
parent
916f070455
commit
350d2ec0b7
11 changed files with 281 additions and 16 deletions
|
|
@ -20,10 +20,12 @@ return new class extends Migration
|
|||
$table->json('element_path');
|
||||
$table->date('scheduled_date');
|
||||
$table->unsignedInteger('position');
|
||||
$table->timestamp('completed_at')->nullable();
|
||||
$table->unique(['schedule_id', 'position']);
|
||||
$table->index([
|
||||
'schedule_id',
|
||||
'scheduled_date',
|
||||
'completed_at',
|
||||
'position',
|
||||
]);
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue