Add private encrypted Gitea aggregate activity service
Deploy Backend / deploy (push) Failing after 14s
Deploy Backend / deploy (push) Failing after 14s
This commit is contained in:
1 parent
fa32df60a9
commit
7249f001b1
9 files changed
+147
-2
No files matched your search
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
namespace App\Models;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
/** Private integration storage: deliberately absent from all resource registries. */
|
||||
class ActivityCredential extends Model
|
||||
{
|
||||
public $incrementing = false;
|
||||
protected $keyType = 'string';
|
||||
protected $guarded = ['*'];
|
||||
protected $hidden = ['token'];
|
||||
protected function casts(): array { return ['token' => 'encrypted']; }
|
||||
}
|
||||
Reference in new issue
Block a user