Jump to content

How can I remove ALL warning for ALL members at once? Sql?


Maxxius

Recommended Posts

Posted

hi, this is quite a simple question, I'd like to offer my members a clean slate by removing all the warnings ever issued. Which myphpadmin query could accomplish that?

Posted

Truncate * FROM core_members_warn_actions;
Truncate * FROM core_members_warn_logs;
Truncate * FROM core_members_warn_reasons;

or

DELETE * FROM core_members_warn_actions;
DELETE * FROM core_members_warn_logs;
DELETE * FROM core_members_warn_reasons;

 

P.S. Always back up your database before making any changes, regardless of how sure you are.

Posted

@DawPi thanks , @flashpoint

Wouldn't Truncate * FROM core_members_warn_reasons; and core_members_warn_actions

simply just delete my warn reasons? I think I should leave it since I just want to clear up all the members but not my setup for future warnings.

Posted
20 minutes ago, Maxxius said:

@DawPi thanks , @flashpoint

Wouldn't Truncate * FROM core_members_warn_reasons; and core_members_warn_actions

simply just delete my warn reasons? I think I should leave it since I just want to clear up all the members but not my setup for future warnings.

Yes, do not do that. This is not necessary and would remove the reasons.

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...