id(); $table->foreignIdFor(Course::class); $table->integer('order'); $table->text('title'); $table->text('duration')->nullable(); $table->text('link')->nullable(); $table->text('video_link')->nullable(); $table->boolean('sync_offline')->default(0); $table->integer('video_size'); $table->timestamps(); }); } public function down(): void { Schema::dropIfExists('chapters'); } };