Sha256: 9c38b3611eca423c1f7bd91264ca0265ab44ae787cad843fc29c363e1898f57b

Contents?: true

Size: 618 Bytes

Versions: 8

Compression:

Stored size: 618 Bytes

Contents

class CreatePages < ActiveRecord::Migration
  def self.up
    create_table "pages", :force => true do |t|
       t.string   "title"
       t.string   "url"
       t.text     "keywords"
       t.text     "description"
       t.text     "content"
       t.datetime "created_at"
       t.datetime "updated_at"
       t.boolean  "noindex"
       t.boolean  "nofollow"
       t.string   "canonical"
       t.boolean  "enable_canonical"
       t.boolean  "enable_keywords"
     end
    
    add_index :pages, :url
  end

  def self.down
    remove_index :pages, :url
    drop_table :pages
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
shakespeare-0.3.4 generators/shakespeare/templates/20091230095600_create_pages.rb
shakespeare-0.3.2 generators/shakespeare/templates/20091230095600_create_pages.rb
shakespeare-0.3.1 generators/shakespeare/templates/20091230095600_create_pages.rb
shakespeare-0.3.0 generators/shakespeare/templates/20091230095600_create_pages.rb
shakespeare-0.2.2 generators/shakespeare/templates/20091230095600_create_pages.rb
shakespeare-0.2.1 generators/shakespeare/templates/20091230095600_create_pages.rb
shakespeare-0.2.0 generators/shakespeare/templates/20091230095600_create_pages.rb
shakespeare-0.1.1 generators/shakespeare/templates/20091230095600_create_pages.rb