about summary refs log tree commit diff stats
path: root/db/migrate/20250112025207_widen_blog_body_column.rb
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2025-01-11 22:00:28 -0500
committerStar Rauchenberger <fefferburbia@gmail.com>2025-01-11 22:00:28 -0500
commit6b2f132842ef77edf5ed878979abb1dcb4aaf976 (patch)
tree78add436a945b762d7802cf95cade71bb45e2ad5 /db/migrate/20250112025207_widen_blog_body_column.rb
parentc6bb414b57a2ae8c6927826b143027f5c43dada9 (diff)
downloadthoughts-6b2f132842ef77edf5ed878979abb1dcb4aaf976.tar.gz
thoughts-6b2f132842ef77edf5ed878979abb1dcb4aaf976.tar.bz2
thoughts-6b2f132842ef77edf5ed878979abb1dcb4aaf976.zip
Widened blog body column to 16 megabytes
Diffstat (limited to 'db/migrate/20250112025207_widen_blog_body_column.rb')
-rw-r--r--db/migrate/20250112025207_widen_blog_body_column.rb5
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 @@
1class WidenBlogBodyColumn < ActiveRecord::Migration[7.1]
2 def change
3 change_column :blogs, :body, :text, limit: 16.megabytes - 1
4 end
5end