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