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