The code powering m.abunchtell.com https://m.abunchtell.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

16 lines
634 B

  1. class ChangePrimaryKeyToBigintOnStatuses < ActiveRecord::Migration[5.0]
  2. def change
  3. change_column :statuses, :id, :bigint
  4. change_column :statuses, :reblog_of_id, :bigint
  5. change_column :statuses, :in_reply_to_id, :bigint
  6. change_column :media_attachments, :status_id, :bigint
  7. change_column :mentions, :status_id, :bigint
  8. change_column :notifications, :activity_id, :bigint
  9. change_column :preview_cards, :status_id, :bigint
  10. change_column :reports, :status_ids, :bigint, array: true
  11. change_column :statuses_tags, :status_id, :bigint
  12. change_column :stream_entries, :activity_id, :bigint
  13. end
  14. end