Skip to content

Instantly share code, notes, and snippets.

@montehurd
Last active May 7, 2020 02:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save montehurd/7663582 to your computer and use it in GitHub Desktop.
Save montehurd/7663582 to your computer and use it in GitHub Desktop.
OldSchema
article
id
dateCreated
lastScrollX
lastScrollY
title
domain (i.e. “en” or “fr”)
domainName (“English” or “French” - but *in* french)
site (i.e. wikipedia.org)
thumbnailImageID
section
id
dateRetrieved
html
index (i.e. order of section within article)
title
tocLevel
anchor (i.e. id of section div)
articleID
thumbnailImageID
discoveryContext
id
historyID
isPrefix (i.e. is this the text before or after the clicked link)
text
history
id
articleID
dateVisited
discoveryMethod (i.e. “search, link, random”)
saved
id
articleID
dateSaved
image
id
alt
data
dataSize (for easier pruning)
dateRetrieved
dateLastAccessed
extension
fileName
fileNameNoSizePrefix (for finding different sizes of the same image)
height
imageDescription (core data can’t have a “description” field as it conflicts with NSObject’s “description”)
mimeType
sourceURL
width
galleryImage
id
articleID
imageID
index (i.e. order of image within article gallery)
sectionImage
id
sectionID
imageID
index (i.e. order of image within section)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment