This repository was archived by the owner on Jan 20, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ const createArticleContentTable = table => {
3939 table . integer ( 'article_id' ) . notNullable ( ) . unique ( ) . references ( 'id' ) . inTable ( 'articles' ) ;
4040 table . string ( 'summary' ) . notNullable ( ) ;
4141 table . string ( 'image_url' ) . notNullable ( ) ;
42- table . text ( 'markdown_content ' ) . notNullable ( ) ;
42+ table . text ( 'html_content ' ) . notNullable ( ) ;
4343} ;
4444
4545const createRelatedArticlesTable = table => {
Original file line number Diff line number Diff line change @@ -73,13 +73,13 @@ const insertArticleContent = knex =>
7373 article_id : 1 ,
7474 summary : 'In short' ,
7575 image_url : 'http://placekitten.com/500/500' ,
76- markdown_content : 'In long' ,
76+ html_content : 'In long' ,
7777 } ,
7878 {
7979 article_id : 2 ,
8080 summary : 'In short2' ,
8181 image_url : 'http://placekitten.com/500/500' ,
82- markdown_content : 'In long2' ,
82+ html_content : 'In long2' ,
8383 } ,
8484 ] ) ;
8585
Original file line number Diff line number Diff line change @@ -564,7 +564,7 @@ components:
564564 type : ' string'
565565 image_url :
566566 type : ' string'
567- markdown_content :
567+ html_content :
568568 type : ' string'
569569 related_articles :
570570 type : ' array'
You can’t perform that action at this time.
0 commit comments