This file documents changes in the data model. Please explain any changes to the data model as well as any custom migrations.
- @koke 2016-09-28
- Added
ReaderTeamTopicentity.
- @aerych 2016-08-12
- Added
algorithmoptional string field toReaderAbstractTopic. - Added
railcaroptional NSData field toReaderPost. - @aerych 2016-08-05
- Removed
ReaderSiteentity. - @aerych 2016-07-19
ReaderAbstractTopicaddedpreserveForRestorationboolean. Indexed. DefaultNO. Not optional.
- @aerych 2016-06-24
ReaderSiteTopicaddedfeedURLstring property- @jleandroperez 2016-06-20
PersonaddedcreationDateattribute.- @jleandroperez 2016-06-21
PersonremovedisFollowerproperty.PersonaddedkindInt16 attribute.- @aerych 2016-06-09
- Moved
dateModifiedproperty fromBasePosttoAbstractPost - @aerych 2016-05-26
- Added
ReaderSearchSuggestionentity. Represents a search in the reader. - @aerych 2016-05-31
- Added
dateModifiedproperty toBasePostmodel. - @aerych 2016-05-23
ReaderPostaddedscore.ReaderPostaddedsortRank. It is not optional so the default of 0 is enforced.
- @frosty 2016-05-17
- Added
Domainentity. Represents a domain belonging to a site. Blogadded new relationshipdomains. An unordered set ofDomains for the blog.- @jleandroperez 2016-05-13
PersonupdatedsiteIDto Int64.PersonupdateduserIDto Int64.Personadded BooleanisFollower.- @frosty 2016-05-12
Blogadded StringplanTitle.- @aerych 2016-05-12
- Added
ReaderSearchTopicentity. Represents a search in the reader. - @jleandroperez 2016-05-04
Personadded Int64linkedUserID.- @jleandroperez 2016-04-22
Blogadded transformablecapabilities.
- @sergioestevao 2016-04-05
Mediaadded new integer attributepostIDto store the post to where the media is attached to.- @kurzee 2016-04-08
MenuchangingmenuIdattribute tomenuIDas a int_32 number instead of string.MenuItemchangingitemIdattribute toitemIDas an int_32 number instead of string.MenuItemchangingcontentIdattribute tocontentIDas an int_64 number instead of string.- @jleandroperez 2016-04-11
AccountSettingsadded new stringemailPendingAddress. Whenever it's not nil, contains the new User's Email Address.AccountSettingsadded new boolemailPendingChange. Indicates whether there's a pending Email change, or not.
Postadded new string attributepostTypeto store the associated string type of aPostentity.- Added
PostTypeentity. Represents a post type and its info. Blogadded new relationshippostTypesto storePostTypeentities for a site.
BlogSettingsadded stringsharingButtonStyle. Stores style to use for sharing buttons.BlogSettingsadded stringsharingLabel. Stores the text to show in the sharing label.BlogSettingsadded stringsharingTwitterName. Stores the username used when sharing to Twitter.BlogSettingsadded boolsharingCommentLikesEnabled. Whether comments display a like button.BlogSettingsadded boolsharingDisabledLikes. Whether posts display a like button.BlogSettingsadded boolsharingDisabledReblogs. Whether posts display a reblog button.BlogSettingsadded integerlanguageID. Stores the Blog's Language ID.- Added
SharingButtonentity. Represents a buton for sharing content to a third-party service. Blogadded new relationshipsharingButtons. An unordered set ofShareButtons for the blog.
- Added
Menuentity. Encapsulates the data and relationships for customizing a site menu. - Added
MenuItementity. Encapsulates the navigation item data belonging to a Menu. - Added
MenuLocationentity. Encapsulates a site/theme location that a Menu can occupy. - Added
PostTagentity. Encapsulates a site's tag taxonomy. Blogadded new relationship calledmenus. Persisting associated Menus for a site.Blogadded new relationship calledmenuLocations. Persists associated MenuLocations available for a site.Blogadded new relationship calledtags. Persisting associated PostTags for a site.Blogadded new integer64 attributeplanIDto store a blog's current plan's product ID.
- Added
PublicizeServiceentity. Represents third-party services available to Publicize - Added
PublicizeConnectionentity. Represents a connection between a blog and a third-party Publicize service. Blogadded a new relationship calledconnections. These are the PublicizeConnections for the blog.
ReaderPostadded new integer64 calledfeedIDto store a post's feed ID if it exists.ReaderPostadded new integer64 calledfeedItemIDto store a post's feed item ID if it exists.
- Added new entity
AccountSettings Accounthas now a new one-to-one relationship mapping toAccountSettings
Themeadded new string attributesauthorandauthorUrlto store a theme's author informationThemeadded new boolean attributepurchasedto store a premium theme's purchased status
Changes to the data model:
- Added new entity:
BlogSettings, to encapsulate all of the Blog Settings Bloghas now a new one-to-one relationship mapping toBlogSettings- Migrated the attribute
Blog.blogNameover toBlogSettings.name - Migrated the attribute
Blog.blogTaglineover toBlogSettings.tagline - Migrated the attribute
Blog.defaultCategoryIDover toBlogSettings.defaultCategoryID - Migrated the attribute
Blog.defaultPostFormatover toBlogSettings.defaultPostFormat - Migrated the attribute
Blog.geolocationEnabledover toBlogSettings.geolocationEnabled - Migrated the attribute
Blog.privacyover toBlogSettings.privacy - Migrated the attribute
Blog.relatedPostsAllowedover toBlogSettings.relatedPostsAllowed - Migrated the attribute
Blog.relatedPostsEnabledover toBlogSettings.relatedPostsEnabled - Migrated the attribute
Blog.relatedPostsShowHeadlineover toBlogSettings.relatedPostsShowHeadline - Migrated the attribute
Blog.relatedPostsShowThumbnailsover toBlogSettings.relatedPostsShowThumbnails
Notification.idfield has been updated to Integer 64
Changes to the data model:
Themeadded a new string attribute calleddemoUrlto store a theme's demo site addressThemeadded a new string attribute calledpriceto store a premium theme's price display stringThemeadded a new string attribute calledstylesheetto store identifier used to construct helper linksThemeadded a new number attribute calledorderto store the display order retrieved by- Added new entity
Person
- Added new entity
ReaderCrossPostMeta ReaderPostadded new relationship calledcrossPostMetato store the source post ID of a cross-post.
Blogadded a new boolean attribute calledrelatedPostsAllowedto store the related setting on the site;Blogadded a new boolean attribute calledrelatedPostsEnabledto store the related setting on the site;Blogadded a new boolean attribute calledrelatedPostsShowHeadlineto store the related setting on the site;Blogadded a new boolean attribute calledrelatedPostsShowThumbnailsto store the related setting on the site;
Changes to the data model:
Blogadded a new number attribute calledprivacyto store the privacy setting on the siteReaderPostadded new string fields forblavatar,primaryTag, andprimaryTagSlugReaderPostadded new integer fields forwordCount, andreadingTimeReaderPostadded new boolean fields forisExternal, andisJetpackReaderPostremoved fieldsdateCommentsSynced, andstoredComment- Added new entities:
ReaderAbstractTopic,ReaderTagTopic,ReaderListTopic,ReaderDefaultTopic,ReaderSiteTopic,ReaderGapMarker. - Edited obsolete mapping model:
SafeReaderTopicToReaderTopic - Removes obsolete
ReaderTopicmodel
Changes to the data model:
Blogadded a new number attribute calleddefaultCategoryIDto store the default category id for new posts on the siteBlogadded a new string attribute calleddefaultPostFormatto store the default post format for new posts on the site
Changes to the data model:
Blogadded a new attribute calledblogTaglineto store the tagline of a siteAbstract Postse the default value formetaPublishImmediatelyattribute to yesBasePostset the default value for thestatusattribute to "publish"Accountadded adisplayNameattribute (@koke)
Changes to the data model:
Mediaadded a new attribute called localThumbnailURL to store the url of a thumbnail on the server, specially relevant for videos
Mediaadded a new attribute called remoteThumbnailURL to store the url of a thumbnail on the server, specially relevant for videos
Changes to the data model:
Accountloses theisWpcomattribute. Only WordPress.com accounts are stored in Core Data nowBlog.accountis now optionalAccountloses thexmlrpcattribute, as they will all be the same WordPress.com XML-RPC endpoint.- Self hosted username is stored in
Blog.usernamenow, and it's no longer transient. - Removed
isJetpackattribute - Added
isHostedAtWPcomattribute
Migration details:
- Only
Accountobjects whereisWpcom == YESwill be migrated, added a predicate filter to the mapping model Bloghas a custom migration policy to calculateisHostedAtWPcomandusername