discourse/db/migrate/20250429083152_add_locale_to_post.rb
Natalie Tay 7d8a1df6cd
DEV: Add locale to post table (#32526)
Adding a `locale` column to the post table, so that we can localize
posts.
2025-04-30 16:35:32 +08:00

7 lines
158 B
Ruby

# frozen_string_literal: true
class AddLocaleToPost < ActiveRecord::Migration[7.2]
def change
add_column :posts, :locale, :string, limit: 20
end
end