From 6b2f132842ef77edf5ed878979abb1dcb4aaf976 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Sat, 11 Jan 2025 22:00:28 -0500 Subject: Widened blog body column to 16 megabytes --- db/migrate/20250112025207_widen_blog_body_column.rb | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 db/migrate/20250112025207_widen_blog_body_column.rb (limited to 'db/migrate') 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 @@ +class WidenBlogBodyColumn < ActiveRecord::Migration[7.1] + def change + change_column :blogs, :body, :text, limit: 16.megabytes - 1 + end +end -- cgit 1.4.1