Skip to content

A self-hosted media server and file management system

fix: was using timestamp for edited_at over timestampz

aminnausinc8dd36ec00ee
diff --git a/database/migrations/2026_01_26_001156_add_edited_at_date_to_series.php b/database/migrations/2026_01_26_001156_add_edited_at_date_to_series.php
index d97fedcf..3ce878b8 100644
--- a/database/migrations/2026_01_26_001156_add_edited_at_date_to_series.php
+++ b/database/migrations/2026_01_26_001156_add_edited_at_date_to_series.php
@@ -12,7 +12,7 @@ return new class extends Migration {
public function up(): void {
DB::transaction(function () {
Schema::table('series', function (Blueprint $table) {
- $table->timestamp('edited_at')->nullable();
+ $table->timestamptz('edited_at')->nullable();
});
// Essentially move updated_at values to edited at where editor_id is not null