Skip to content

Commit

Permalink
Use double instead of float for MySQL compatability (#305)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanmitchell authored Jun 19, 2024
1 parent b85b882 commit cad4c51
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
});
}

Expand Down

0 comments on commit cad4c51

Please sign in to comment.