Sha256: baf3b92f65da93c23ac260ce6956ccfebbb25d1e7a13155c90d939f1280f71ed

Contents?: true

Size: 458 Bytes

Versions: 3

Compression:

Stored size: 458 Bytes

Contents

class CreateBlocks < ActiveRecord::Migration
  def self.up
    create_table :blocks do |t|
      t.boolean :show_title
      t.string :title
      t.text :body
      t.string :where_to_show
      t.text :show
      t.boolean :show_title
      t.string :column_span
      t.string :column_offset
      t.string :classes
      t.integer :weight
      t.string :partial_name

      t.timestamps
    end
  end
  
  def self.down
    drop_table :blocks
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
dust-cms-0.0.07 db/migrate/20110507014158_create_blocks.rb
dust-cms-0.0.06 db/migrate/20110507014158_create_blocks.rb
dust-cms-0.0.05 db/migrate/20110507014158_create_blocks.rb