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