Sha256: 7450dacaf3a72fb7358fcbcc3464dd9049fa926f703992ee1ed7738ff3da97f8

Contents?: true

Size: 277 Bytes

Versions: 26

Compression:

Stored size: 277 Bytes

Contents

class CreateContentBlocks < ActiveRecord::Migration
  def change
    create_table :content_blocks do |t|
      t.string :title
      t.string :slug
      t.text :content
      t.integer :page_id
      t.boolean :allow_html, default: false

      t.timestamps
    end
  end
end

Version data entries

26 entries across 13 versions & 1 rubygems

Version Path
manifest-rails-0.1.2 lib/generators/manifest/install/templates/create_content_blocks.rb
manifest-rails-0.1.2 db/migrate/20120304152605_create_content_blocks.rb
manifest-rails-0.1.1 lib/generators/manifest/install/templates/create_content_blocks.rb
manifest-rails-0.1.1 db/migrate/20120304152605_create_content_blocks.rb
manifest-rails-0.1.0 lib/generators/manifest/install/templates/create_content_blocks.rb
manifest-rails-0.1.0 db/migrate/20120304152605_create_content_blocks.rb