Skip to content

Commit

Permalink
feat: Allow the format_content to be null in posts table
Browse files Browse the repository at this point in the history
  • Loading branch information
guqing committed Feb 18, 2022
1 parent ae9498b commit 9c5a1bf
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,7 @@ FROM contents c
INNER JOIN posts p ON p.id = c.post_id;

-- Allow the original_content to be null
alter table posts
modify format_content longtext null;
alter table posts
modify original_content longtext null;

0 comments on commit 9c5a1bf

Please sign in to comment.