You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently articles, blog_posts, lessons, and managed_content use "body" as their main text field, while materials, topics, and uploads use "description". In addition, articles has a "summary" field that the rest lack. It would be nice if we migrated these tables so they all use the same name for this kind of column.
The text was updated successfully, but these errors were encountered:
wioux
changed the title
Normalize content structure
Use predictable column names for content
Dec 21, 2017
ContentHelper#preview
is getting a little complex in how it finds a piece of content's html:sec/app/helpers/content_helper.rb
Lines 7 to 13 in 242e1ec
Currently articles, blog_posts, lessons, and managed_content use "body" as their main text field, while materials, topics, and uploads use "description". In addition, articles has a "summary" field that the rest lack. It would be nice if we migrated these tables so they all use the same name for this kind of column.
The text was updated successfully, but these errors were encountered: