Database Cleanup
danieljsummers opened this issue · 1 comments
danieljsummers commented
There are a few fields in the database whose intent has changed, but the name has not. Prior to v2 RC, fix any such names, and take this opportunity to change data and support types' fields to be capitalized, per F# standard naming conventions.
(This will mostly affect the RethinkDB implementation, but ensure that the SQLite mappings also remain correct.)
danieljsummers commented
- Changed
WebLog.themePath
toWebLog.ThemeId
, and changed it to a properThemeId
(this led to some different handlers to render themed templates, and changes in the DotLiquidtheme_asset
filter) - Changed
Page.showInPageList
toPage.IsInPageList
- Changed
feedEnabled
,categoryEnabled
, andtagEnabled
inRssOptions
toIsFeedEnabled
,IsCategoryEnabled
, andIsTagEnabled
- Changed
iTunesCategory
andiTunesSubcategory
inPodcastOptions
toAppleCategory
andAppleSubcategory
(ITunesCategory
looks like an interface type, not a concrete type) - Changed
PodcastOptions.guid
toPodcastOptions.PodcastGuid
- Changed
WebLogUser.userName
toWebLogUser.Email
- Removed
UploadDestinationConverter
(FSharpLu's single-case DU converter can handle it) - Pushed these name changes throughout the view models that use them
- Modified RethinkDB implementation to use
nameof
for fields it addresses rather than strings - Added conversions for RethinkDB tables that will be needed when beta 5 is released (no conversion planned for SQLite; I do not believe there are any users yet)