diff options
Diffstat (limited to 'db/migrate/20250112025207_widen_blog_body_column.rb')
-rw-r--r-- | db/migrate/20250112025207_widen_blog_body_column.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20250112025207_widen_blog_body_column.rb b/db/migrate/20250112025207_widen_blog_body_column.rb new file mode 100644 index 0000000..f65aaea --- /dev/null +++ b/db/migrate/20250112025207_widen_blog_body_column.rb | |||
@@ -0,0 +1,5 @@ | |||
1 | class WidenBlogBodyColumn < ActiveRecord::Migration[7.1] | ||
2 | def change | ||
3 | change_column :blogs, :body, :text, limit: 16.megabytes - 1 | ||
4 | end | ||
5 | end | ||