From cad4c5194d05f00c8085b1f0bf5129c9ff073b3f Mon Sep 17 00:00:00 2001 From: Ryan Mitchell Date: Wed, 19 Jun 2024 10:40:36 +0100 Subject: [PATCH] Use double instead of float for MySQL compatability (#305) --- .../migrations/2024_05_15_100000_modify_form_submissions_id.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/migrations/2024_05_15_100000_modify_form_submissions_id.php b/database/migrations/2024_05_15_100000_modify_form_submissions_id.php index 655b69c5..8079482d 100644 --- a/database/migrations/2024_05_15_100000_modify_form_submissions_id.php +++ b/database/migrations/2024_05_15_100000_modify_form_submissions_id.php @@ -9,7 +9,7 @@ public function up() { Schema::table($this->prefix('form_submissions'), function (Blueprint $table) { - $table->float('id', 10, 4)->index()->unique()->change(); + $table->double('id', 14, 4)->index()->unique()->change(); }); }