We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
On MySQL 5 the following column xxx decimal(6,2) unsigned
xxx decimal(6,2) unsigned
is converted to: $table->decimal('xxx', 6, 2) unsigned->unsigned()
$table->decimal('xxx', 6, 2) unsigned->unsigned()
The text was updated successfully, but these errors were encountered:
Another example using TablePlus 4.0.5(168) and the latest available tabledump for bigint:
bigint
$table->bigint unsigned('id')->unsigned()->autoIncrement();
It should use unsignedBigInteger() in my case: https://laravel.com/docs/8.x/migrations#column-method-unsignedBigInteger
unsignedBigInteger()
And https://laravel.com/docs/8.x/migrations#column-method-unsignedDecimal for a topic-starter.
Sorry, something went wrong.
It should be $table->id() if column name is id ( laravel 7x and late)
$table->id()
id
Successfully merging a pull request may close this issue.
On MySQL 5 the following column
xxx decimal(6,2) unsigned
is converted to:
$table->decimal('xxx', 6, 2) unsigned->unsigned()
The text was updated successfully, but these errors were encountered: