Sha256: ca9a7182c86684d0d281c58c01a9fbc387268d8ea32a508787073a588aa7ec45

Contents?: true

Size: 468 Bytes

Versions: 19

Compression:

Stored size: 468 Bytes

Contents

class CreateRedditorImages < ActiveRecord::Migration
  def change
    create_table(:redditor_images) do |t|
      t.integer  "imageable_id"
      t.string   "imageable_type"
      t.integer  "position"
      t.string   "src"
      t.string   "description"
      t.datetime "created_at",     :null => false
      t.datetime "updated_at",     :null => false
    end
    add_index :redditor_images, :imageable_type
    add_index :redditor_images, :imageable_id
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
redditor-0.1.22 db/migrate/20130916155124_create_redditor_images.rb
redditor-0.1.20 db/migrate/20130916155124_create_redditor_images.rb
redditor-0.1.17 db/migrate/20130916155124_create_redditor_images.rb
redditor-0.1.16 db/migrate/20130916155124_create_redditor_images.rb
redditor-0.1.15 db/migrate/20130916155124_create_redditor_images.rb
redditor-0.1.14 db/migrate/20130916155124_create_redditor_images.rb
redditor-0.1.12 db/migrate/20130916155124_create_redditor_images.rb
redditor-0.1.11 db/migrate/20130916155124_create_redditor_images.rb
redditor-0.1.10 db/migrate/20130916155124_create_redditor_images.rb
redditor-0.1.9 db/migrate/20130916155124_create_redditor_images.rb
redditor-0.1.8 db/migrate/20130916155124_create_redditor_images.rb
redditor-0.1.7 db/migrate/20130916155124_create_redditor_images.rb
redditor-0.1.6 db/migrate/20130916155124_create_redditor_images.rb
redditor-0.1.5 db/migrate/20130916155124_create_redditor_images.rb
redditor-0.1.4 db/migrate/20130916155124_create_redditor_images.rb
redditor-0.1.3 db/migrate/20130916155124_create_redditor_images.rb
redditor-0.1.2 db/migrate/20130916155124_create_redditor_images.rb
redditor-0.1.1 db/migrate/20130916155124_create_redditor_images.rb
redditor-0.1.0 db/migrate/20130916155124_create_redditor_images.rb