eBooru/db/migrate/20241009023749_add_title_to_posts.rb

8 lines
171 B
Ruby
Raw Permalink Normal View History

2024-10-30 19:52:53 -04:00
# frozen_string_literal: true
class AddTitleToPosts < ActiveRecord::Migration[7.1]
def change
2024-11-04 00:11:43 -05:00
add_column(:posts, :title, :text, null: false, default: "")
2024-10-30 19:52:53 -04:00
end
end