Skip to content

[11.x] Fix modifying columns with default value and other minor schema enhancements #49897

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

Merged
merged 7 commits into from
Jan 30, 2024

Conversation

hafezdivandari
Copy link
Contributor

This PR does:

  • Fix modifying columns on SQLite when table has a column with default value.
  • Fix renaming columns on legacy MySQL and MariaDB when column's default value is an expression (only current_timestamp is allowed as expression on MySQL < 8.0.13).
  • Add support for specifying SRID for spatial column types on MariaDB (docs).
  • Use Schema::getTableListing() on DatabaseTruncation.
  • Use Connection::getServerVersion() to get database version.
  • Fix PHPDoc on ColumnDefinition for collation that also works on SQLite.

Copy link

Thanks for submitting a PR!

Note that draft PR's are not reviewed. If you would like a review, please mark your pull request as ready for review in the GitHub user interface.

Pull requests that are abandoned in draft may be closed due to inactivity.

@hafezdivandari hafezdivandari marked this pull request as ready for review January 29, 2024 16:53
@taylorotwell taylorotwell merged commit a5bf1bc into laravel:master Jan 30, 2024
@hafezdivandari hafezdivandari deleted the master-fix-column-default branch January 30, 2024 04:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants