eBooru/db/migrate/20241009023749_add_title_to_posts.rb
2024-11-03 23:11:43 -06:00

8 lines
171 B
Ruby

# frozen_string_literal: true
class AddTitleToPosts < ActiveRecord::Migration[7.1]
def change
add_column(:posts, :title, :text, null: false, default: "")
end
end