Skip to content

Commit cad4c51

Browse files
authored
Use double instead of float for MySQL compatability (#305)
1 parent b85b882 commit cad4c51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

database/migrations/2024_05_15_100000_modify_form_submissions_id.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
public function up()
1010
{
1111
Schema::table($this->prefix('form_submissions'), function (Blueprint $table) {
12-
$table->float('id', 10, 4)->index()->unique()->change();
12+
$table->double('id', 14, 4)->index()->unique()->change();
1313
});
1414
}
1515

0 commit comments

Comments
 (0)