Sha256: 7083e26933705989baa7f069b7b9ca1ed163265b6feec7ecedc0eea2f721b645

Contents?: true

Size: 253 Bytes

Versions: 5

Compression:

Stored size: 253 Bytes

Contents

class CreateBlocksPages < ActiveRecord::Migration
  def self.up
    create_table :blocks_pages, :id => false do |t|
      t.belongs_to :block,
        :page
      t.integer :position
    end
  end

  def self.down
    drop_table :blocks_pages
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
forgeos_cms-1.9.5.rc1 db/migrate/20091009134510_create_blocks_pages.rb
forgeos_cms-1.9.4 db/migrate/20091009134510_create_blocks_pages.rb
forgeos_cms-1.9.2 db/migrate/20091009134510_create_blocks_pages.rb
forgeos_cms-1.9.1 db/migrate/20091009134510_create_blocks_pages.rb
forgeos_cms-1.9.0 db/migrate/20091009134510_create_blocks_pages.rb