metadataテーブルにexpires_atカラムを追加

メタデータの有効期限が現在より過去の場合、メタデータを再取得する
This commit is contained in:
eai04191 committed 2019-01-15 16:51:50 +09:00
1 parent a3813f19cf
commit 938a4d6957
3 files changed
+37 -4

No files matched your search

+2 -2
View File
@@ -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'];
}