GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
MojoMojo::Schema::Result::PageVersion(3) User Contributed Perl Documentation MojoMojo::Schema::Result::PageVersion(3)

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 "(page, version)".

When renaming a page, a new version is created in this table, with "version" set to 1 + the maximum version for that "page". The "status" of the new "page_version" is set to "released", its "release_date" is set to "DateTime->now", while the old "page_version"'s status is set to 'removed' and its "remove_date" is set to "DateTime->now".

  • document the relationships
  • in order to support proper rollback, meaning creating a new version for the rollback operation itself, a "content_version" field needs to be added.
  • "created" is 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 <mramberg@cpan.org>

This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself.
2016-12-07 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.