feat: carddav: support sync-token (#2230)

This commit is contained in:
Alexis Saettler
2019-01-01 14:09:13 +01:00
committed by GitHub
parent 68f39369f3
commit 76dcfcb3f9
9 changed files with 567 additions and 22 deletions
+28
View File
@@ -0,0 +1,28 @@
<?php
namespace App\Models\User;
use App\Models\ModelBinding as Model;
class SyncToken extends Model
{
protected $table = 'synctoken';
/**
* The attributes that aren't mass assignable.
*
* @var array
*/
protected $guarded = ['id'];
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = [
'account_id',
'user_id',
'timestamp',
];
}