Added total time of a course, marking chapters and courses to sync offline.
This commit is contained in:
@@ -16,6 +16,7 @@ return new class extends Migration {
|
||||
$table->id();
|
||||
$table->integer('course_id')->unique();
|
||||
$table->text('name');
|
||||
$table->text('course_duration')->nullable();
|
||||
$table->text('thumbnail');
|
||||
$table->text('link');
|
||||
$table->enum('status', ['unfinished', 'upcoming', 'complete']);
|
||||
|
||||
@@ -14,8 +14,9 @@ return new class extends Migration {
|
||||
$table->integer('order');
|
||||
$table->text('title');
|
||||
$table->text('duration')->nullable();
|
||||
$table->text('link');
|
||||
$table->text('video_link');
|
||||
$table->text('link')->nullable();
|
||||
$table->text('video_link')->nullable();
|
||||
$table->boolean('sync_offline')->default(0);
|
||||
$table->integer('video_size');
|
||||
$table->timestamps();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user