Add markdown support for summary (#482)

* Add markdown support for summary

* Save both md and html summary
This commit is contained in:
fdb-hiroshima
2019-03-17 20:11:29 +01:00
committed by GitHub
parent 191eb89958
commit 570d7fe2d0
12 changed files with 79 additions and 12 deletions
@@ -0,0 +1,2 @@
-- This file should undo anything in `up.sql`
ALTER TABLE users DROP COLUMN summary_html;
@@ -0,0 +1,3 @@
-- Your SQL goes here
ALTER TABLE users ADD COLUMN summary_html TEXT NOT NULL DEFAULT '';
UPDATE users SET summary_html = summary;