diff options
author | Camil Staps | 2015-05-25 13:22:08 +0200 |
---|---|---|
committer | Camil Staps | 2015-05-25 13:22:08 +0200 |
commit | 30230b3544a28e783b4d6504ede4e86a3278ab4d (patch) | |
tree | 60c654f64dcb360791b31fb48707487932e3d644 /src/CamilStaps/BotleaguesApi/Database/PasswordReminder.php | |
parent | license in all files (diff) |
Fixed bug in models without auto_increment column
Diffstat (limited to 'src/CamilStaps/BotleaguesApi/Database/PasswordReminder.php')
-rw-r--r-- | src/CamilStaps/BotleaguesApi/Database/PasswordReminder.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/CamilStaps/BotleaguesApi/Database/PasswordReminder.php b/src/CamilStaps/BotleaguesApi/Database/PasswordReminder.php index 803d7e8..e0c856a 100644 --- a/src/CamilStaps/BotleaguesApi/Database/PasswordReminder.php +++ b/src/CamilStaps/BotleaguesApi/Database/PasswordReminder.php @@ -28,6 +28,7 @@ class PasswordReminder extends Model { protected $hidden = ['token']; protected $fillable = ['userEmail', 'token', 'valid_till']; protected $primaryKey = 'token'; + public $incrementing = false; public static function boot() { parent::boot(); |