diff options
author | Go MAEDA <maeda@farend.jp> | 2024-10-20 07:51:38 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2024-10-20 07:51:38 +0000 |
commit | 5407fea87338e2de3fb4bbd8edcd671eed910a52 (patch) | |
tree | d362b785d363ec394c01747285dedc40d50f5430 /db | |
parent | d58c2a21eaf97a439c7adf061aa529e58fe51748 (diff) | |
download | redmine-5407fea87338e2de3fb4bbd8edcd671eed910a52.tar.gz redmine-5407fea87338e2de3fb4bbd8edcd671eed910a52.zip |
Drop deprecated Redcarpet based Markdown formatter (#40149).
Patch by Go MAEDA (user:maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@23153 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20241007144951_change_text_formatting_from_markdown_to_common_mark.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20241007144951_change_text_formatting_from_markdown_to_common_mark.rb b/db/migrate/20241007144951_change_text_formatting_from_markdown_to_common_mark.rb new file mode 100644 index 000000000..984a889ca --- /dev/null +++ b/db/migrate/20241007144951_change_text_formatting_from_markdown_to_common_mark.rb @@ -0,0 +1,9 @@ +class ChangeTextFormattingFromMarkdownToCommonMark < ActiveRecord::Migration[7.2] + def up + Setting.find_by(name: 'text_formatting', value: 'markdown')&.update(value: 'common_mark') + end + + def down + # no-op + end +end |