LowerRockLabs / laravel-lockable

This simple package allows for Models to be locked for Editing (or Accessing) for a period of time.
MIT License
5 stars 3 forks source link

SQLSTATE[42S22]: Column not found: 1054 Unknown column 'user_type' in 'field list' #43

Open djfrailey opened 2 weeks ago

djfrailey commented 2 weeks ago

Version: 1.4

When attempting to acquire a lock, the above SQLSTATE error occurs. The IsLockable trait attempts to store the users type into the database however the column does not exist in the migrations.

Are you moving to a morph type for model_lock or should I submit a PR removing the user_type from IsLockable?