Sha256: ea4f1833440977d8ca715f5c84b87312549669a3a3290e4f5ac29f6cc93d0f84

Contents?: true

Size: 392 Bytes

Versions: 230

Compression:

Stored size: 392 Bytes

Contents

class CreateFeedParents < ActiveRecord::Migration
  def self.up
    create_table :feed_parents, :force => true do |t|
      t.integer :feed_id
      t.integer :ownable_id
      t.string  :ownable_type
      t.timestamps
    end

    add_index :feed_parents, ["feed_id"]
    add_index :feed_parents, ["ownable_id", "ownable_type"]
  end

  def self.down
    drop_table :feed_parents
  end
end

Version data entries

230 entries across 122 versions & 4 rubygems

Version Path
muck-services-3.3.3 test/db/migrate/20090723050510_create_feed_parents.rb
muck-services-3.3.3 db/migrate/20090723050510_create_feed_parents.rb
muck-auth-3.5.4 test/db/migrate/20090723050510_create_feed_parents.rb
muck-auth-3.5.3 test/db/migrate/20090723050510_create_feed_parents.rb
muck-auth-3.5.2 test/db/migrate/20090723050510_create_feed_parents.rb
muck-services-3.3.2 db/migrate/20090723050510_create_feed_parents.rb
muck-services-3.3.1 db/migrate/20090723050510_create_feed_parents.rb
muck-services-3.3.0 db/migrate/20090723050510_create_feed_parents.rb
muck-services-3.2.2 db/migrate/20090723050510_create_feed_parents.rb
muck-services-3.2.1 db/migrate/20090723050510_create_feed_parents.rb
muck-services-3.2.0 db/migrate/20090723050510_create_feed_parents.rb
muck-services-3.1.1 db/migrate/20090723050510_create_feed_parents.rb
muck-services-3.1.0 db/migrate/20090723050510_create_feed_parents.rb
muck-raker-3.1.0 db/migrate/20090723050510_create_feed_parents.rb
muck-services-0.1.47 test/rails_root/db/migrate/20090723050510_create_feed_parents.rb
muck-services-0.1.47 db/migrate/20090723050510_create_feed_parents.rb
muck-services-3.0.0 test/rails_test/db/migrate/20090723050510_create_feed_parents.rb
muck-services-3.0.0 db/migrate/20090723050510_create_feed_parents.rb
muck-raker-3.0.0 db/migrate/20090723050510_create_feed_parents.rb
muck-raker-3.0.0 test/rails_test/db/migrate/20090723050510_create_feed_parents.rb