Sha256: c6341df58d8c3b625f876c1cd1ee5a213c3ce387506b14f27dde2bf28e4b23f8

Contents?: true

Size: 332 Bytes

Versions: 5

Compression:

Stored size: 332 Bytes

Contents

class CreateCarouselItems < ActiveRecord::Migration
  def self.up
    create_table :carousel_items do |t|
      t.string :title,
        :url,
        :description
      t.belongs_to  :picture,
        :carousel
      t.integer  :position
      t.timestamps
    end  
  end

  def self.down
    drop_table :carousel_items
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
forgeos_cms-1.9.5.rc1 db/migrate/20091009134518_create_carousel_items.rb
forgeos_cms-1.9.4 db/migrate/20091009134518_create_carousel_items.rb
forgeos_cms-1.9.2 db/migrate/20091009134518_create_carousel_items.rb
forgeos_cms-1.9.1 db/migrate/20091009134518_create_carousel_items.rb
forgeos_cms-1.9.0 db/migrate/20091009134518_create_carousel_items.rb