Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
fisharebest committed Oct 10, 2019
1 parent 06f1a0b commit e7e60f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

# laravel-floats

This package allows database migrations in Laravel 5 to create `FLOAT` columns in MySQL.
This package allows database migrations in Laravel 5 and Laravel 6 to create `FLOAT` columns in MySQL.

## Huh? You mean that Laravel does not support floating point columns?

Expand All @@ -23,7 +23,7 @@ which states:
You can read all about it at <https://github.com/laravel/framework/issues/3151>
and many other issues.

| In your migration | Laravel 5.0 - 5.8 | With this package |
| In your migration | Laravel 5.0 - 6.2 | With this package |
| ------------------------------ | ----------------- | ----------------- |
| `$table->float('col');` | `DOUBLE(8,2)` | `FLOAT` |
| `$table->float('col', 0);` | `DOUBLE` | `FLOAT` |
Expand Down

0 comments on commit e7e60f5

Please sign in to comment.