string('thumbnail_path')->nullable(); $table->string('thumbnail_alt')->nullable(); $table->string('thumbnail_error')->nullable(); }); } Schema::table('compositions', function (Blueprint $table) { $table->string('public_slug')->nullable()->unique(); }); Schema::table('composition_versions', function (Blueprint $table) { $table->text('learning_goal')->nullable(); $table->unsignedSmallInteger('duration_minutes')->nullable(); $table->text('material_note')->nullable(); }); } public function down(): void { Schema::table('composition_versions', function (Blueprint $table) { $table->dropColumn(['learning_goal', 'duration_minutes', 'material_note']); }); Schema::table('compositions', function (Blueprint $table) { $table->dropColumn(['thumbnail_path', 'thumbnail_alt', 'thumbnail_error', 'public_slug']); }); Schema::table('content_elements', function (Blueprint $table) { $table->dropColumn(['thumbnail_path', 'thumbnail_alt', 'thumbnail_error']); }); } };