Sha256: 71c241f2dc62c95061bbc0149f3b5e15dc61c57de88b23f958a82f4dd4fe3c1d

Contents?: true

Size: 215 Bytes

Versions: 5

Compression:

Stored size: 215 Bytes

Contents

class CreatePageColsTable < ActiveRecord::Migration
  def self.up
    create_table :page_cols do |t|
      t.belongs_to :page
      t.text :content
    end
  end

  def self.down
    drop_table :page_cols
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
forgeos_cms-1.9.5.rc1 db/migrate/20100405095844_create_page_cols_table.rb
forgeos_cms-1.9.4 db/migrate/20100405095844_create_page_cols_table.rb
forgeos_cms-1.9.2 db/migrate/20100405095844_create_page_cols_table.rb
forgeos_cms-1.9.1 db/migrate/20100405095844_create_page_cols_table.rb
forgeos_cms-1.9.0 db/migrate/20100405095844_create_page_cols_table.rb