Sha256: 6a0b5403ca24c165ace05f4581435cb7c80fdb301c64729f1ec4893232b16912

Contents?: true

Size: 416 Bytes

Versions: 23

Compression:

Stored size: 416 Bytes

Contents

class CreateActorKeys < ActiveRecord::Migration
  def up
    create_table :actor_keys do |t|
      t.integer :actor_id
      t.binary  :key_der

      t.timestamps
    end

    add_index "actor_keys", "actor_id"
    add_foreign_key "actor_keys", "actors", :name => "actor_keys_on_actor_id"
  end

  def down
    remove_foreign_key "actor_keys", :name => "actor_keys_on_actor_id"
    drop_table :actor_keys
  end
end

Version data entries

23 entries across 23 versions & 2 rubygems

Version Path
social_stream-1.1.12 ostatus/db/migrate/20120918194708_create_actor_keys.rb
social_stream-1.1.11 ostatus/db/migrate/20120918194708_create_actor_keys.rb
social_stream-1.1.10 ostatus/db/migrate/20120918194708_create_actor_keys.rb
social_stream-1.1.9 ostatus/db/migrate/20120918194708_create_actor_keys.rb
social_stream-ostatus-1.1.1 db/migrate/20120918194708_create_actor_keys.rb
social_stream-1.1.8 ostatus/db/migrate/20120918194708_create_actor_keys.rb
social_stream-1.1.7 ostatus/db/migrate/20120918194708_create_actor_keys.rb
social_stream-1.1.6 ostatus/db/migrate/20120918194708_create_actor_keys.rb
social_stream-1.1.5 ostatus/db/migrate/20120918194708_create_actor_keys.rb
social_stream-1.1.4 ostatus/db/migrate/20120918194708_create_actor_keys.rb
social_stream-1.1.3 ostatus/db/migrate/20120918194708_create_actor_keys.rb
social_stream-1.1.2 ostatus/db/migrate/20120918194708_create_actor_keys.rb
social_stream-1.1.1 ostatus/db/migrate/20120918194708_create_actor_keys.rb
social_stream-1.1.0 ostatus/db/migrate/20120918194708_create_actor_keys.rb
social_stream-ostatus-1.1.0 db/migrate/20120918194708_create_actor_keys.rb
social_stream-1.0.1 ostatus/db/migrate/20120918194708_create_actor_keys.rb
social_stream-ostatus-1.0.0 db/migrate/20120918194708_create_actor_keys.rb
social_stream-0.30.2 ostatus/db/migrate/20120918194708_create_actor_keys.rb
social_stream-0.30.1 ostatus/db/migrate/20120918194708_create_actor_keys.rb
social_stream-0.30.0 ostatus/db/migrate/20120918194708_create_actor_keys.rb