v0.5.2
This commit is contained in:
commit
f2e6586969
134 files changed
+9705
No files matched your search
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
namespace IriksIT\Manager\Models;
|
||||
|
||||
/** An earlier state of a post, a page or another record that keeps a history (module `revisions`). */
|
||||
class Revision extends Model
|
||||
{
|
||||
/** Only `created_at`, set when the state is kept. */
|
||||
public $timestamps = false;
|
||||
|
||||
protected function casts(): array
|
||||
{
|
||||
return ['data' => 'array', 'changed' => 'array'];
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user