Instagram repost job
Some checks failed
Push image to registry / build-image (push) Failing after 6m44s

This commit is contained in:
2025-06-03 19:10:34 +02:00
parent 25a9063169
commit 7f50822692
12 changed files with 907 additions and 4 deletions

View File

@ -0,0 +1,26 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class InstagramRepost extends Model
{
protected $table = 'instagram_reposts';
protected $fillable = [
'reel_id',
'reposted',
'account_id',
];
public function account()
{
return $this->belongsTo(InstagramAccount::class, 'account_id');
}
public function getUrl(): string
{
return "https://www.instagram.com/reel/{$this->reel_id}/";
}
}