MojoMojo::Schema::Result::PageVersion - Versioned page metadata
This table implements versioning of page metadata (not content,
see MojoMojo::Schema::Result::Content for that).
It has a composite primary key
When renaming a page,
a new version is created in this table,
version set to 1 + the maximum version for that
status of the new
page_version is set to "released",
release_date is set to
while the old
page_version's status is set to 'removed' and its
remove_date is set to
content_versionfield needs to be added.
createdis apparently unused: set to 0 for pages populated when creating the database, and NULL for all normal pages.
Return the PageVersion object having the latest version of this page.
Marcus Ramberg <email@example.com>
This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself.