1
0
mirror of https://github.com/funamitech/mastodon synced 2024-11-27 22:38:42 +09:00
YuruToot/db/migrate/20160223162837_add_metadata_to_statuses.rb
2023-11-06 16:15:48 +00:00

11 lines
272 B
Ruby

# frozen_string_literal: true
class AddMetadataToStatuses < ActiveRecord::Migration[4.2]
def change
change_table(:statuses, bulk: true) do |t|
t.column :in_reply_to_id, :integer, null: true
t.column :reblog_of_id, :integer, null: true
end
end
end