Categories
CMS Mastering Development

Deleted rows from elements_sites hunting stray slugs now I can’t login

Working on a migration up/down testing I went through and deleted TOO much from the element_sites table to remove unwanted slugs, not understanding really what’s in there. Now I understand many elements are in there and I’ve deleted some vital stuff without a backup.

Is there a way to perhaps use these config/*.yaml files to rebuild the tables or something to that affect?

At the very least, when logging in my username and password no longer works, and forgot your password gives no joy. What a mess. Can the project be salvaged or am I looking at starting fresh?

I have time machine backups on my mac but as a docker newbie I didn’t have the VM included in the backup. I believe the mysql data is all stored in the VM that nitro creates.

Leave a Reply

Your email address will not be published. Required fields are marked *