20160223162837_add_metadata_to_statuses.rb 272 B

12345678910
  1. # frozen_string_literal: true
  2. class AddMetadataToStatuses < ActiveRecord::Migration[4.2]
  3. def change
  4. change_table(:statuses, bulk: true) do |t|
  5. t.column :in_reply_to_id, :integer, null: true
  6. t.column :reblog_of_id, :integer, null: true
  7. end
  8. end
  9. end