How can I edit some of database table fields?
For example, I need to change the value of "created" field of a node. But when I edit the node, only the "Changed" field can be edited.
These fields affect the way of displaying and sorting the content by date (e.g. on the FrontPage).

Thank you!

Comments

nevets’s picture

When adding/editing do you see "Authoring information" down toward the bottom of the form. If yes, click to expand at set the "Authored on:" field.

huss’s picture

Yes, but I would like to change another field. In the Node tables in the database, I see two data/time fields - for the date of creation and for the date of modifying the node. I need to change the first one.

nevets’s picture

Authored on does change the creation date, the modify date is handled by the node module.

huss’s picture

Thank you, but is there a way to change the value of the other field?

nevets’s picture

As far as I know you would need to edit the database or write a script to change the value.