Skip to content
This repository has been archived by the owner on Mar 10, 2021. It is now read-only.

Create a backup of initial (placeholder) content. #146

Open
yulolimum opened this issue Mar 26, 2018 · 4 comments
Open

Create a backup of initial (placeholder) content. #146

yulolimum opened this issue Mar 26, 2018 · 4 comments
Assignees

Comments

@yulolimum
Copy link
Member

Right now, the first revision in the backup system is a snapshot of the content after the very first page Save. This is good; however, we lose all content (default / placeholder content) that was there before the first Save. The only way to get it back is to change the content IDs for all areas on the page in the code. It would be nice to have a copy of the content in the database.

@yulolimum yulolimum self-assigned this Mar 26, 2018
@jamonholmgren
Copy link
Member

I can't think of a really simple way to accomplish this offhand. Do you have any ideas?

@jamonholmgren
Copy link
Member

Actually, I suppose we could delete all revisions. That would "reset" the page entirely. I kind of like the idea of doing this, but we would need to make it hard to do accidentally.

@yulolimum
Copy link
Member Author

@jamonholmgren I actually disagree. The whole point of revisions is to have a history. Deleting all revisions just to get to "version 1" is counterproductive IMO. Also, you'd actually have to delete the Page and PageContents in order to go all the way back to placeholder.

@jamonholmgren
Copy link
Member

Understand, yeah. Any ideas? I don't want something janky.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants