* Use database for kvp storage * Read kvpstore * Add web cron ability through API #821 * Style fixes * Fix text
This commit is contained in:
23
app/Models/Kvp.php
Normal file
23
app/Models/Kvp.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use App\Contracts\Model;
|
||||
|
||||
/**
|
||||
* @property string key
|
||||
* @property string value
|
||||
*/
|
||||
class Kvp extends Model
|
||||
{
|
||||
public $table = 'kvp';
|
||||
public $timestamps = false;
|
||||
public $incrementing = false;
|
||||
|
||||
protected $keyType = 'string';
|
||||
|
||||
public $fillable = [
|
||||
'key',
|
||||
'value',
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user