metadataテーブルにexpires_atカラムを追加
メタデータの有効期限が現在より過去の場合、メタデータを再取得する
This commit is contained in:
1 parent
a3813f19cf
commit
938a4d6957
3 files changed
+37
-4
No files matched your search
+2
-2
@@ -10,6 +10,6 @@ class Metadata extends Model
|
||||
protected $primaryKey = 'url';
|
||||
protected $keyType = 'string';
|
||||
|
||||
protected $fillable = ['url', 'title', 'description', 'image'];
|
||||
protected $visible = ['url', 'title', 'description', 'image'];
|
||||
protected $fillable = ['url', 'title', 'description', 'image', 'expires_at'];
|
||||
protected $visible = ['url', 'title', 'description', 'image', 'expires_at'];
|
||||
}
|
||||
Reference in new issue
Block a user