Skip to content

Breaking Change: user_guard Column Added Without Migration #59

@salimkamboh

Description

@salimkamboh

Hi,

After updating to the latest version of binafy/laravel-user-monitoring, our application started throwing a SQLSTATE[42S22]: Column not found: 1054 Unknown column 'user_guard' error when inserting into the authentications_monitoring table.

It appears that a new column user_guard was added to the model, but no accompanying migration was provided. This change breaks existing installations where the column doesn’t exist, and there was no documented upgrade path.

Modifying the schema without a new migration or major version bump makes upgrading unsafe. Could you please consider:

  • Adding a dedicated migration for this column,
    
  • Including a versioned upgrade guide,
    
  • And avoiding breaking changes in minor/patch versions?
    

Thanks for your work on this helpful package!

Best regards,
Saleem

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions