Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[11.x] Schema Upgrade Guide #9268

Merged
merged 4 commits into from
Jan 20, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
formatting
  • Loading branch information
hafezdivandari committed Jan 20, 2024
commit a7e503d415a5c922e488ca62ac544d33deab1613
2 changes: 1 addition & 1 deletion upgrade.md
Original file line number Diff line number Diff line change
@@ -94,7 +94,7 @@ Schema::table('users', function (Blueprint $table) {

**Likelihood Of Impact: Medium**

The `double` and `float` column types of database migrations have been rewritten to make these types consistent across all databases.
The `double` and `float` column types of database migrations have been rewritten to be consistent across all databases.

The `double` column type now creates a `DOUBLE` equivalent column without total digits and places (digits after decimal point), which is the standard syntax in SQL. Therefore, you may remove the arguments for `$total` and `$places`: