diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2025-01-11 22:00:28 -0500 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2025-01-11 22:00:28 -0500 |
commit | 6b2f132842ef77edf5ed878979abb1dcb4aaf976 (patch) | |
tree | 78add436a945b762d7802cf95cade71bb45e2ad5 /db/migrate | |
parent | c6bb414b57a2ae8c6927826b143027f5c43dada9 (diff) | |
download | thoughts-6b2f132842ef77edf5ed878979abb1dcb4aaf976.tar.gz thoughts-6b2f132842ef77edf5ed878979abb1dcb4aaf976.tar.bz2 thoughts-6b2f132842ef77edf5ed878979abb1dcb4aaf976.zip |
Widened blog body column to 16 megabytes
Diffstat (limited to 'db/migrate')
-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 | ||