Skip to content

A self-hosted media server and file management system

fix: migration issue

aminnausinbbbbd2a906c0
diff --git a/database/migrations/2025_01_05_025235_add_captions_to_metadata.php b/database/migrations/2025_01_05_025235_add_captions_to_metadata.php
index 143162fd..dbc55a6d 100644
--- a/database/migrations/2025_01_05_025235_add_captions_to_metadata.php
+++ b/database/migrations/2025_01_05_025235_add_captions_to_metadata.php
@@ -11,7 +11,7 @@ return new class extends Migration {
public function up(): void {
Schema::table('metadata', function (Blueprint $table) {
//
- $table->text('lyrics')->nullable();
+ $table->text('captions')->nullable();
});
}
@@ -21,7 +21,7 @@ return new class extends Migration {
public function down(): void {
Schema::table('metadata', function (Blueprint $table) {
//
- $table->dropColumn('lyrics');
+ $table->dropColumn('captions');
});
}
};