donphan/db/migrate/20160223162837_add_metadata...

9 lines
239 B
Ruby

# frozen_string_literal: true
class AddMetadataToStatuses < ActiveRecord::Migration[4.2]
def change
add_column :statuses, :in_reply_to_id, :integer, null: true
add_column :statuses, :reblog_of_id, :integer, null: true
end
end