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.2.8 lib/generators/manifest/install/templates/create_content_blocks.rb
manifest-rails-0.2.8 db/migrate/20120304152605_create_content_blocks.rb
manifest-rails-0.2.7 db/migrate/20120304152605_create_content_blocks.rb
manifest-rails-0.2.7 lib/generators/manifest/install/templates/create_content_blocks.rb
manifest-rails-0.2.6 db/migrate/20120304152605_create_content_blocks.rb
manifest-rails-0.2.6 lib/generators/manifest/install/templates/create_content_blocks.rb
manifest-rails-0.2.5 lib/generators/manifest/install/templates/create_content_blocks.rb
manifest-rails-0.2.5 db/migrate/20120304152605_create_content_blocks.rb
manifest-rails-0.2.4 lib/generators/manifest/install/templates/create_content_blocks.rb
manifest-rails-0.2.4 db/migrate/20120304152605_create_content_blocks.rb
manifest-rails-0.2.3 db/migrate/20120304152605_create_content_blocks.rb
manifest-rails-0.2.3 lib/generators/manifest/install/templates/create_content_blocks.rb
manifest-rails-0.2.2 lib/generators/manifest/install/templates/create_content_blocks.rb
manifest-rails-0.2.2 db/migrate/20120304152605_create_content_blocks.rb
manifest-rails-0.2.1 lib/generators/manifest/install/templates/create_content_blocks.rb
manifest-rails-0.2.1 db/migrate/20120304152605_create_content_blocks.rb
manifest-rails-0.2.0 lib/generators/manifest/install/templates/create_content_blocks.rb
manifest-rails-0.2.0 db/migrate/20120304152605_create_content_blocks.rb
manifest-rails-0.1.3 db/migrate/20120304152605_create_content_blocks.rb
manifest-rails-0.1.3 lib/generators/manifest/install/templates/create_content_blocks.rb