You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12345678 |
- class EnsureTextFormattingSettingIsStoredInDb < ActiveRecord::Migration[6.1]
- def change
- unless Setting.where(name: "text_formatting").exists?
- setting = Setting.new(:name => "text_formatting", :value => 'textile')
- setting.save!
- end
- end
- end
|