6 lines
140 B
Ruby
6 lines
140 B
Ruby
class AddTitleToPosts < ActiveRecord::Migration[8.0]
|
|
def change
|
|
add_column :posts, :title, :string, after: :id, null: false
|
|
end
|
|
end
|