PR CI / flow (pull_request) Successful in 3s
PR CI / ledger (pull_request) Successful in 3s
PR CI / ui (pull_request) Successful in 17s
PR CI / test (lowest) (pull_request) Successful in 47s
PR CI / test (stable) (pull_request) Successful in 51s
PR CI / security (pull_request) Successful in 53s
PR CI / pr-ci (pull_request) Successful in 1s
PR CI / release-automerge (pull_request) Successful in 3s
16 lines
377 B
PHP
16 lines
377 B
PHP
<?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'];
|
|
}
|
|
}
|