Basically, If a value in Row is same for 3 days I want to remove the column, like if someone hasn't verified their account remove the account to save space.
Is there a way to make a script for this? If so can someone help me make it?
Basically, If a value in Row is same for 3 days I want to remove the column, like if someone hasn't verified their account remove the account to save space.
Is there a way to make a script for this? If so can someone help me make it?
Have a column like
modified timestamp default current_timestamp on update current_timestamp
in your table. Then write a query to delete entries of the table and execute it via event scheduler.