Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Laravel 7.x migration reference tousers tableid getting error incorrectly formed error #167

Open
Milestone
@AjithLalps

Description

@AjithLalps

Before you submit an issue please read this

This repository is only for reporting bugs or issues. If you need support, please use Stack Overflow usinglaravel-code-generator tag (https://stackoverflow.com/questions/tagged/laravel-code-generator)

Please provide us with details by completing the following requirements. Issues with not enough info are likely to be closed without resolution.

Environment:

  • Laravel-Code-Generator Version: 2.4.4
  • Laravel Version: 7.23.0

Description:

When generating migration, that contains a reference tousers tableid getting error incorrectly formed error. since laravel 7.xid() returnsbigIncrements field.

Steps/Commands To Reproduce:

change the database engine toInnoDB. Then add a field to migration file something likecreated_by that referencesid onusers table. Then run the migration.

Content Of The Resource-File:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp