Sha256: c1cd6a2ea05b53c7abe1ba9bdeacc322d5185dd3bfec310ffa6069396ad695e3

Contents?: true

Size: 333 Bytes

Versions: 3

Compression:

Stored size: 333 Bytes

Contents

class CreateFeatherPages < ActiveRecord::Migration
  def change
    create_table :feather_cms_pages do |t|
      t.string :name
      t.string :status, :default => 'draft'
      t.text   :content
      t.string :layout, :default => 'application'
      t.string :template_type, :default => 'html'
      t.timestamps
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
feather_cms-0.0.5.2 lib/generators/feather_cms/templates/migration.rb
feather_cms-0.0.5.1 lib/generators/feather_cms/templates/migration.rb
feather_cms-0.0.5 lib/generators/feather_cms/templates/migration.rb