class CreateSocialStreamOstatus < ActiveRecord::Migration
  
  def self.up
    create_table :remote_subjects, :force => true do |t|
      t.integer :actor_id
      t.string  :webfinger_id
      t.text    :webfinger_info
      t.timestamps
    end
    
    add_index "remote_subjects", "actor_id"
    add_foreign_key "remote_subjects", "actors", :name => "remote_subjects_on_actor_id"
  end
  
  def self.down
    remove_foreign_key "remote_subjects", :name => "remote_subjects_on_actor_id"
    drop_table :remote_subjects
  end
  
end