Sha256: ae424d4e5cde36b9cfde871341910ebc16102e8e9a0fe36a7167f39eb05abd49

Contents?: true

Size: 376 Bytes

Versions: 19

Compression:

Stored size: 376 Bytes

Contents

class CreateRedditorPages < ActiveRecord::Migration
  def change
    create_table(:redditor_pages) do |t|
      t.integer  "pageable_id"
      t.string   "pageable_type"
      t.datetime "created_at",    :null => false
      t.datetime "updated_at",    :null => false
    end
    add_index :redditor_pages, :pageable_type
    add_index :redditor_pages, :pageable_id
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

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