Skip to content

Feature Request: Add Created and Modified Columns to Database Site Tables #13641

Description

@playcock

Summary

Database table columns to add: Created, Modified

Step to reproduce

Creating/Saving a Resource or Element in the Manager

Expected behavior

I would like to see created and a modified columns on the following database tables when creating or updating a Resource or Element from within the Manager, please.

Both columns would be the timestamp type.
The created column's Default would be CURRENT_TIMESTAMP
The modified column would contain the date and time whenever the Resource or Element was modified.

This would help me track when a resource or element is created and/or modified.

modx_site_content
modx_site_htmlsnippets
modx_site_plugins
modx_site_plugin_events
modx_site_snippets
modx_site_templates
modx_site_tmplvars
modx_site_tmplvar_access
modx_site_tmplvar_contentvalues
modx_site_tmplvar_templates

Environment

MODX Revolution 2.5+

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureRequest about implementing a brand new function or possibility.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions