Files
btrc-hub/backend/db/migrate/20250602162353_add_title_to_posts.rb
2025-06-03 01:56:49 +09:00

6 lines
140 B
Ruby

class AddTitleToPosts < ActiveRecord::Migration[8.0]
def change
add_column :posts, :title, :string, after: :id, null: false
end
end