diff options
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 |