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
Laravel migration broken after upgrade.
Laravel migration on sqlite
Schema::table('table_two', function (Blueprint $table) { $table->string('name')->change(); });
SQLSTATE[HY000]: General error: 1 no such index: IDX_E234CAE293411876 (SQL: DROP INDEX IDX_E234CAE293411876)
Schema::create('table_one', function (Blueprint $table) { $table->bigIncrements('id'); $table->string('name'); }); Schema::create('table_two', function (Blueprint $table) { $table->bigIncrements('id'); $table->string('name'); $table->unsignedInteger('reference_id'); $table->foreign('reference_id') ->references('id') ->on('table_one') ->onDelete('cascade'); }); Schema::table('table_two', function (Blueprint $table) { $table->string('name')->change(); });
#3762 85a983c#diff-3fa09ba089913d40a1fbeb10b8cb8536R773
The text was updated successfully, but these errors were encountered:
Seems to be a duplicate of #4243 , can you check?
Sorry, something went wrong.
Its the same problem, yes
Duplicate of #4243
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
No branches or pull requests
Bug Report
Laravel migration broken after upgrade.
Summary
Laravel migration on sqlite
SQLSTATE[HY000]: General error: 1 no such index: IDX_E234CAE293411876 (SQL: DROP INDEX IDX_E234CAE293411876)
How to reproduce
Source of the problem
#3762
85a983c#diff-3fa09ba089913d40a1fbeb10b8cb8536R773
The text was updated successfully, but these errors were encountered: