logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe git clone https://hacktivis.me/git/mastofe.git

20170217012631_add_reblog_of_id_foreign_key_to_statuses.rb (179B)


  1. class AddReblogOfIdForeignKeyToStatuses < ActiveRecord::Migration[5.0]
  2. def change
  3. add_foreign_key :statuses, :statuses, column: :reblog_of_id, on_delete: :cascade
  4. end
  5. end