Skip to content

A self-hosted media server and file management system

fix: storyboard interval can't hold sub second intervals

aminnausinec1b2a22dd8f
diff --git a/database/migrations/2026_05_24_203228_change_interval_to_float_on_storyboards.php b/database/migrations/2026_05_24_203228_change_interval_to_float_on_storyboards.php
new file mode 100644
index 00000000..4fac1458
--- /dev/null
+++ b/database/migrations/2026_05_24_203228_change_interval_to_float_on_storyboards.php
@@ -0,0 +1,25 @@
+<?php
+
+use Illuminate\Database\Migrations\Migration;
+use Illuminate\Database\Schema\Blueprint;
+use Illuminate\Support\Facades\Schema;
+
+return new class extends Migration {
+ /**
+ * Run the migrations.
+ */
+ public function up(): void {
+ Schema::table('storyboards', function (Blueprint $table) {
+ $table->float('interval_seconds')->default(10)->change();
+ });
+ }
+
+ /**
+ * Reverse the migrations.
+ */
+ public function down(): void {
+ Schema::table('storyboards', function (Blueprint $table) {
+ $table->integer('interval_seconds')->default(10)->change();
+ });
+ }
+};